Leadtools.Pdf Namespace > PDFFile Class : Load Method |
public void Load()
'Declaration Public Sub Load()
'Usage Dim instance As PDFFile instance.Load()
public void Load()
function Leadtools.Pdf.PDFFile.Load()
public: void Load();
This method will load the PDF file set in FileName (using the password set in Password if the PDF file is secured) and populate the following properties:
The Pages property will contain a list of PDFFilePage for each page in the PDF file.
The DocumentProperties property will contain the properties of the PDF file.
This method will fail with an exception if the file in FileName is not a valid PDF file. In certain case, you can set the name of a Postscript file in FileName, for example, before calling the Distill method. But you should not call Load in this case.
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