Click or drag to resize

PdfDocument Methods

The PdfDocument type exposes the following members.

Methods
 NameDescription
Public methodCopyViewerPreferences Copy the viewer preferences from other PDF document to current.
Public methodStatic memberCreateNew Create a new PDF document.
Public methodDispose Releases all resources used by the PdfDocument.
Protected methodDispose(Boolean) Releases all resources used by the PdfImageObject.
Public methodDoDocumentAAction This method is required for performing the document's additional-action.
Protected methodFinalize Finalize object
(Overrides ObjectFinalize)
Public methodStatic memberFromHandle Crreate an instance of PdfDocument class from handle.
Public methodGenerateMetadata Generate a metadata stream containing metadata for the document.
Public methodGetMetaText Get a text from metadata of the document.
Public methodGetPageSizeByIndex Get the size of a page by index.
Public methodStatic memberLoad(PdfCustomLoader) Loads the PDF document from the specified custom descriptor.
Public methodStatic memberLoad(Byte, PdfForms, String) Open and load a PDF document from a memory.
Public methodStatic memberLoad(String, PdfForms, String) Open and load a PDF document from a file.
Public methodStatic memberLoad(Stream, PdfForms, String, Boolean) Loads the PDF document from the specified stream.
Public methodSave(SaveFlags, Int32) Saves the copy of PDF document in custom way.
Public methodSave(Stream, SaveFlags, Int32) Saves a copy of PDF document to the stream
Public methodSave(String, SaveFlags, Int32) Saves a copy of PDF document to the specified file name
Public methodSetPasswordProtection Protect document with a password.
Top
See Also