Last active
August 16, 2024 11:01
-
-
Save terjehelgesen/9facb606327568eb73e972b4d93a004c to your computer and use it in GitHub Desktop.
Convert DWF to PDF in C# using scConverter
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
//scConverter Sample Code | |
//Read more about scConverter online: http://www.softwarecompanions.com/scconverterdll.html | |
{ | |
scConverterLib.Converter myconverter = new scConverterLib.Converter(); | |
if (myconverter != null) | |
{ | |
myconverter.SetSerialNumber("Your Serial Number"); | |
//Select PDF/A-4e as standard for output | |
myconverter.PDFWriteFormat = 7; | |
//Include layers from DWF file in the exported PDF | |
myconverter.PDFLayers = 1; | |
//Convert DWF file to PDF | |
myconverter.Convert( "input.dwf", "output.pdf", "PDF", 1.0, 24, 200); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Take a look at the scConverter Documentation for more information.