Leadtools.Pdf Namespace > PDFFile Class > PDFFile Constructor : PDFFile Constructor(String) |
This constructor will initialize the properties of the PDFFile object as follows:
Password will be set to null (Nothing in Visual Basic)
DocumentProperties will be set to null (Nothing in Visual Basic)
Pages collection will be set to null (Nothing in Visual Basic)
After the file name and optional password are set , call the Load method to populate the DocumentProperties and Pages properties of this PDFFile object with the values read from the file.
In certain situation, you may want to associate a PDFFile with a Postscript and not a PDF file. For example, to create a PDFFile object and call its Distill method to convert the Postscript file to PDF.
For an example, refer to PDFFile.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2