PdfFile Class
Definition
Namespace: Xfinium.Pdf.Core
Defines a PDF file.
Inheritance: Object → PdfFile
Constructors
| Name | Description |
|---|---|
| PdfFile(Stream) | Initializes a new PdfFile object from a stream. |
| PdfFile(Stream,String) | Initializes a new PdfFile object from a stream. |
Properties
| Name | Description |
|---|---|
| PageCount | Gets the number of pages. |
| SecurityHandler | Gets the file security handler. |
Methods
| Name | Description |
|---|---|
| ExtractDocumentInformation | Extracts the document information from the PDF files. |
| ExtractFileAttachments | Extracts the file attachments from the PDF file. |
| ExtractJavaScriptFragments | Extracts the JavaScript code from the PDF file. |
| ExtractNamedDestinations | Extracts the named destinations from the PDF file. |
| ExtractOutlines | Extracts the outlines from the PDF file. |
| ExtractPage | Extracts a page from the PDF file. |
| ExtractPageContent | Extracts the content of a PDF page. |
| ExtractPageInfo | Extracts the page information from the PDF file. |
| ExtractPageOptionalContentGroup | Extracts the content of an optional content group. |
| ExtractPageOptionalContentGroupNames | Extracts the names of the optional content groups defined on the page. |
| ExtractPages | Extracts a page from the PDF file. |
| ExtractXmpMetadata | Extracts the XMP metadata from the PDF file. |
| GetCosObjectByNumber | Gets the specified COS object. |
| GetCosObjectCount | Gets the total number of COS objects in the PDF file. |
| GetPdfFileEncryptionAlgorithm | |
| IsPdfFileEncrypted | Verifies if the PDF file is encrypted. |
| IsPdfFileOwnerPassword | Verifies if the password matches the owner password set on the PDF file. |
| IsPdfFileUserPassword | Verifies if the password matches the user password set on the PDF file. |