Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
Leadtools.Pdf Assembly > Leadtools.Pdf Namespace > PDFFile Class : Load Method |
public void Load()
'Declaration
Public Sub Load()
'Usage
Dim instance As PDFFile instance.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. However, it is possible to use the name of a Postscript file in FileName, and then call the Distill method (but in such a situation, do not call Load).
For an example, refer to PDFFile.