Click or drag to resize
Pdf Library for .NET

PdfTool Methods

The PdfTool type exposes the following members.

Methods
 NameDescription
Public methodCloseReleases the loaded document.
Public methodDispose Releases the loaded document, the same as Close. Lets the PdfTool be used in a using statement. Calling it after Close, or more than once, does nothing.
Public methodGetInfoGets the document information (title, author, page count, etc.).
Public methodGetPageCountGets the number of pages in the loaded PDF document.
Public methodLoad(Byte)Loads a PDF document from a byte array.
Public methodLoad(PdfDocument)Loads an in-memory PdfDocument for reading.
Public methodLoad(Stream)Loads a PDF document from a stream.
Public methodCode exampleLoad(String)Loads a PDF document from a file.
Public methodLoad(Byte, String)Loads a password-protected PDF document from a byte array.
Public methodLoad(PdfDocument, String)Loads an in-memory PdfDocument. The password is used to open the document.
Public methodLoad(Stream, String)Loads a password-protected PDF document from a stream.
Public methodLoad(String, String)Loads a password-protected PDF document from a file.
Top
See Also