Skip to main content
.NET Framework 4.5.2+

PdfDocumentProcessor Methods

A non-visual component that allows you to generate PDF files from scratch and manipulate existing documents.
Name Description
AddFormFields(PdfAcroFormField[]) Adds interactive form fields to a PDF document.
AddFormFields(IEnumerable<PdfAcroFormField>) Adds interactive form fields to a PDF document.
AddNewPage(PdfRectangle) Adds an empty page to the document. Accepts page size as a parameter.
AddTextAnnotation(Int32, PdfPoint) Adds a text annotation at the specified point on the page.
AddTextAnnotation(Int32, PdfRectangle) Adds a text annotation to the specified area on the page.
AddTextMarkupAnnotation(PdfDocumentArea, PdfTextMarkupAnnotationType) Creates a text markup annotation for the text located in the specified page area.
AddTextMarkupAnnotation(PdfDocumentPosition, PdfDocumentPosition, PdfTextMarkupAnnotationType) Creates a text markup annotation for text located between the specified positions on the page.
AddTextMarkupAnnotation(Int32, PdfOrientedRectangle, PdfTextMarkupAnnotationType) Creates a text markup annotation at the specified page area.
AddTextMarkupAnnotation(Int32, PdfRectangle, PdfTextMarkupAnnotationType) Creates a text markup annotation for the text located in the specified page rectangle.
AddTextMarkupAnnotation(Int32, IEnumerable<PdfOrientedRectangle>, PdfTextMarkupAnnotationType) Creates a text markup annotation at the specified area on the page.
AddTextMarkupAnnotation(Int32, IEnumerable<PdfQuadrilateral>, PdfTextMarkupAnnotationType) Creates a text markup annotation at the specified page area.
AppendDocument(Stream) Appends a PDF document located at the specified file stream to the end of the current document starting from the new page.
AppendDocument(String) Appends a PDF document located at the specified path to the end of the current document starting from the new page.
ApplyFormData(PdfFormData) Fills an interactive form with data.
AttachFile(PdfFileAttachment) Attaches a file to the PDF document.
CheckFormFieldNameCollisions(PdfAcroFormField[]) Checks interactive form fields to find a collision in the form field names.
CheckFormFieldNameCollisions(IEnumerable<PdfAcroFormField>) Checks interactive form fields to find a collision in the form field names.
CloseDocument() Closes the current document.
CreateBitmap(Int32, Int32) Exports a PDF page to a bitmap image.
CreateDestination(Int32, Single, Single, Single, Single, Single) Creates a destination for targets in the document (e.g., bookmarks) using a page number, page coordinates, DPI and zoom factor.
CreateDestination(Int32, Single, Single, Single, Single) Creates a destination for targets in the document (e.g., bookmarks) using a page number, page coordinates, and DPI.
CreateDestination(Int32, Single, Single, Single) Creates a destination for targets in the document (e.g., bookmarks) using a page number, page coordinates, and zoom factor.
CreateDestination(Int32, Single, Single) Creates a destination for targets in the document (e.g., bookmarks) using a page number, and page coordinates.
CreateDestination(Int32, Single) Creates a destination for targets in the document (e.g., bookmarks) using a page number, and zoom factor.
CreateDestination(Int32) Creates a destination for targets in the document (e.g., bookmarks) using a page number.
CreateEmptyDocument() Creates an empty PDF document with no pages.
CreateEmptyDocument(Stream, PdfCreationOptions) Creates an empty PDF with no pages using a stream and PDF creation options.
CreateEmptyDocument(Stream, PdfSaveOptions, PdfCreationOptions) Creates an empty PDF document with no pages with specified save (encryption settings and a signature) and creation options, and writes it to a stream.
CreateEmptyDocument(Stream, PdfSaveOptions) Creates an empty PDF document with no pages with specified save options (encryption and signature settings) and writes it to a stream.
CreateEmptyDocument(Stream) Creates an empty PDF document with no pages and writes it to a stream.
CreateEmptyDocument(String, PdfCreationOptions) Creates an empty PDF document with no pages using the file path and PDF creation options.
CreateEmptyDocument(String, PdfSaveOptions, PdfCreationOptions) Creates an empty PDF document with no pages using the file path, PDF save options (containing encryption settings and a signature) that will be applied to the document when it is saved, and PDF creation options.
CreateEmptyDocument(String, PdfSaveOptions) Creates an empty PDF document with no pages using the file path and PDF save options (containing encryption settings and a signature) that will be applied to the document when it is saved.
CreateEmptyDocument(String) Creates an empty PDF document with no pages using the file path.
CreateGraphics() Creates a new instance of the PdfGraphics used to draw graphics on a PDF document.
CreateTiff(Stream, IEnumerable<Int32>, Single) Exports PDF pages to a multi-page TIFF image with a predefined resolution and writes the image to a stream.
CreateTiff(Stream, Int32, IEnumerable<Int32>) Exports PDF pages to a multi-page TIFF image and writes the image to a stream.
CreateTiff(Stream, Int32) Exports a PDF file to a multi-page TIFF image and writes the image to a stream.
CreateTiff(String, IEnumerable<Int32>, Single) Exports PDF pages to a multi-page TIFF image with a predefined resolution and saves the image to a file.
CreateTiff(String, Int32, IEnumerable<Int32>) Exports PDF pages to a multi-page TIFF image and saves the image to a file.
CreateTiff(String, Int32) Exports a PDF document to a multi-page TIFF image and saves the image to a file.
DeleteAttachment(PdfFileAttachment) Returns a value indicating if the attachment is deleted from a PDF document.
DeleteMarkupAnnotation(PdfMarkupAnnotationData) Deletes a markup annotation from a page.
DeleteMarkupAnnotations(IEnumerable<PdfMarkupAnnotationData>) Deletes markup annotations specified in the PdfMarkupAnnotationData collection.
DeletePage(Int32) Deletes the specified page from the document.
DeletePages(IEnumerable<Int32>) Removes the specified pages from the document.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Export(Stream, PdfFormDataFormat) Exports interactive form data to the stream in the specified form data format.
Export(String, PdfFormDataFormat) Exports interactive form data to the file in the specified form data format.
FindText(String, PdfTextSearchParameters) Searches for the specified text in the current document with the applied parameters.
FindText(String) Searches for the specified text in the current document with default parameters.
FlattenForm() Flattens an entire interactive form.
FlattenFormField(String) Flattens a specific form field on an interactive form by its name.
GetFormData() Returns an object containing values of interactive form data fields.
GetFormFieldNames() Returns a list of interactive field names in a document.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImages(PdfDocumentArea, Single) Retrieves images found within the specified document area using image resolution.
GetImages(PdfDocumentArea) Retrieves the images found within the specified document area.
GetImages(PdfDocumentPosition, PdfDocumentPosition, Single) Retrieves the images found within the specified document positions using image resolution.
GetImages(PdfDocumentPosition, PdfDocumentPosition) Retrieves the images found within the specified document positions.
GetMarkupAnnotationData(Int32) Retrieves all text markup annotations from a page in a PDF document.
GetPageText(Int32, PdfTextExtractionOptions) Obtains text from the specified page.
GetPageText(Int32) Obtains text from the specified page.
GetText() Retrieves the document content.
GetText(PdfDocumentArea, PdfTextExtractionOptions) Retrieves document content from the specified area with specified extraction options.
GetText(PdfDocumentArea) Retrieves the text found in the specified document area.
GetText(PdfDocumentPosition, PdfDocumentPosition, PdfTextExtractionOptions) Retrieves document content located between the specified document positions with specified extraction options.
GetText(PdfDocumentPosition, PdfDocumentPosition) Retrieves the text located between the specified document positions.
GetText(PdfTextExtractionOptions) Retrieves document content with specified extraction options.
GetType() Gets the Type of the current instance. Inherited from Object.
GetWord(PdfDocumentPosition) Returns a word at the specified document position.
Import(Stream, PdfFormDataFormat) Imports interactive form data from the specified stream using the specified format.
Import(Stream) Imports interactive form data from the specified stream.
Import(String, PdfFormDataFormat) Imports interactive form data from the specified file using the specified format.
Import(String) Imports interactive form data from the specified file.
InsertNewPage(Int32, PdfRectangle) Inserts a new page with a specified page number and page size into the document.
LoadDocument(Stream, Boolean) Opens a PDF document from the specified stream using detach stream mode.
LoadDocument(Stream) Opens a PDF document from the specified stream.
LoadDocument(String, Boolean) Opens a PDF document from the specified file using detach stream mode.
LoadDocument(String) Opens a PDF document from the specified file.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
NextWord() Returns the next word in a PDF document.
PrevWord() Returns the previous word in a PDF document.
Print(PdfPrinterSettings) Prints the document with custom printer settings.
Print(PrinterSettings) Obsolete. Obsolete. Prints the current document, using the specified settings.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveForm() Removes all interactive form fields from a PDF document.
RemoveFormField(String) Removes an interactive form field from a document using the field name.
RenderNewPage(PdfRectangle, PdfGraphics, Single, Single) Adds a new page with specified page size, DPI, and created graphics to a document.
RenderNewPage(PdfRectangle, PdfGraphics) Adds a new page with specified page size and created graphics to a document.
ResetFormData() Resets all fields of the interactive form to their default values.
SaveDocument(Stream, PdfSaveOptions, Boolean) Saves the current PDF document to the specified stream with encryption settings and document signature using detach stream mode.
SaveDocument(Stream, PdfSaveOptions) Saves the current PDF document to the specified stream with encryption settings and document signature.
SaveDocument(Stream, Boolean) Saves the current PDF document to the specified stream using the detach stream mode.
SaveDocument(Stream) Saves the current document to the specified file stream.
SaveDocument(String, PdfSaveOptions, Boolean) Saves the current PDF document to the specified file with encryption settings and document signature using the detach stream mode.
SaveDocument(String, PdfSaveOptions) Saves the current PDF document to the specified file path with encryption and sign settings.
SaveDocument(String, Boolean) Saves the current PDF document to the specified file using the detach stream mode.
SaveDocument(String) Saves the current document to the specified file path.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also