You can find more details at: Convert IFC to PDF in C#
Last active
April 15, 2022 18:39
-
-
Save aspose-com-gists/5fab5307b9ff85f80a7acc60e75ad335 to your computer and use it in GitHub Desktop.
Convert IFC to PDF Programmatically in C# .NET .NET Core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the input IFC file | |
Image image = Image.Load("input.ifc"); | |
// Initialize CadRasterizationOptions class object | |
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions(); | |
rasterizationOptions.PageWidth =1200; | |
rasterizationOptions.PageHeight = 1400; | |
// Create an object of PdfOptions class | |
PdfOptions pdfOptions = new PdfOptions(); | |
pdfOptions.VectorRasterizationOptions = rasterizationOptions; | |
// Save output PDF file | |
image.Save("output.pdf", pdfOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment