PDFFile Class Members

Summary

The following tables list the members exposed by PDFFile.

Public Constructors

Name Description
Public Constructor PDFFile Initializes a new PDFFile object and associated it with the name of a PDF file and the password used to decrypt it.

Public Methods

Name Description
Public Method AddImages Adds raster images to a PDF document.
Public Method ClearAnnotations Clears the annotations from an existing PDF file.
Public Method ClearBookmarks Clears the bookmarks and internal links (TOC) from an existing PDF file.
Public Method Clone Creates an exact copy of this PDFFile object.
Public Method Convert Converts the file associated with the PDFFile object to a different version using optional document properties and security options.
Public Method ConvertToPDFA Converts the file associated with this PDFFile object to PDF/A.
Public Method ConvertToSvg Converts the specified page of this PDFFile to SVG.
Public Method DeletePages Delete one or more pages from the file associated with this PDFFile object.
Public Method Distill Converts (distills) the Postscript file associated with this PDFFile object to PDF.
Public Method static  | Shared in VB ExtractEmbeddedFile Extracts an embedded file (attachment) from a PDF document file and saves it to disk.
Public Method static  | Shared in VB ExtractJavaScript Extracts the list of JavaScript actions from a PDF document file.
Public Method ExtractPages Extract one or more pages from the file associated with this PDFFile object using an array containing page numbers.
Public Method FillFormFields Fills the PDF form document.
Public Method static  | Shared in VB GetEmbeddedFileCount Gets the total number of embedded files (attachments) in a PDF file.
Public Method GetPageCount Gets the number of pages in this PDFFile object.
Public Method static  | Shared in VB GetPDFFileType Gets the type of a PDF or Postscript file.
Public Method InsertPagesFrom Inserts one or more pages from an existing PDF file into the file associated with this PDFFile object.
Public Method static  | Shared in VB IsEncrypted Gets a value that indicate whether a PDF file is encrypted.
Public Method static  | Shared in VB IsLinearized Determines if this PDF file is linearized (optimized for the web).
Public Method static  | Shared in VB IsPdfA Determines if the specified file is PDF/A.
Public Method static  | Shared in VB IsPortfolio Indicates whether the file is a PDF portfolio.
Public Method Linearize Converts the file associated with this PDFFile object into a linearized version (one optimized for Web viewing).
Public Method Load Loads this PDFFile object and populate its pages collection and document properties.
Public Method MergeFiles Merges pages from multiple PDF files into one output PDF file.
Public Method MergeWith Merges this PDF file with one or more PDF existing files.
Public Method Optimize Optimizes this PDFFile object and writes the PDF data into the specified file.
Public Method static  | Shared in VB Redact Redacts a PDF document stored in a file.
Public Method ReplacePagesFrom Replaces one or more pages from an existing PDF file into the file associated with this PDFFile object.
Public Method RotatePages Rotate one or more pages in an existing PDF file.
Public Method SetDocumentProperties Updates the properties of the file associated with this PDFFile object.
Public Method SetInitialView Updates the initial view options of the specified PDF file.
Public Method static  | Shared in VB SignDocument Adds a digital signature to a PDF document from a PFX file.
Public Method WriteAnnotations Writes annotations to an existing PDF file.
Public Method WriteBookmarks Writes bookmarks (TOC) to an existing PDF file.
Public Method static  | Shared in VB WriteJavaScript Writes (or removes) JavaScript actions to an output file.

Public Properties

Name Description
Public Property CompatibilityLevel PDF compatibility level (version) to use when updating or creating a PDF file.
Public Property DocumentProperties PDF document properties or metadata used with this PDFFile object.
Public Property FileName Gets or sets the name of the file associated with this PDFFile.
Public Property InitialViewOptions Sets the PDFInitialViewOptions that this PDFFile object uses when creating new PDF files.
Public Property OptimizerOptions Sets the PDFOptimizerOptions that this PDFFile object uses when Optimize is called to create a new, optimized PDF file.
Public Property Pages Gets the collection of pages in this PDF file.
Public Property Password Gets or sets the password associated with this PDFFile.
Public Property SecurityOptions PDF security and encryption options to use when updating or creating a PDF file.

See Also

PDFFile Class

Leadtools.Pdf Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.