Skip to main content
All docs
V26.1
  • PdfDocument Members

    Constructors

    Name Description
    PdfDocument() Initializes a new instance of the PdfDocument class.
    PdfDocument(FileVersion) Initializes a new instance of the PdfDocument class with specified settings.
    PdfDocument(Stream, LoadOptions) Initializes a new instance of the PdfDocument class with specified settings.
    PdfDocument(Stream, String, Boolean) Initializes a new instance of the PdfDocument class with specified settings.

    Properties

    Name Description
    AccessMode Obtains the level of access applied to the PDF document.
    Attachments Obtains a collection of file attachments included in a PDF document.
    DataExtractionPermissions Gets the permissions for data extraction operations.
    Fields Returns the collection of form fields contained in the PDF document.
    FileVersion Gets the PDF file version.
    ImageCacheSize Specifies the size of the image cache (in megabytes).
    InteractivityPermissions Gets the permissions for interaction operations.
    LanguageCulture Gets or sets the language culture of the document.
    MarkInfo Specifies the mark information about the document’s usage of Tagged PDF conventions.
    Metadata
    ModificationPermissions Gets the permissions for document modification operations.
    Pages Obtains document pages.
    PrintPermissions Gets the permissions for document printing operations.
    StructureTree
    ViewerPreferences

    Methods

    Name Description
    AppendDocument(PdfDocument) Adds the specified document to the end of the current document.
    AppendDocument(Stream, LoadOptions) Adds the specified document to the end of the current document. Allows you to specify options that control how the document is loaded.
    AppendDocument(Stream) Adds the specified document to the end of the current document.
    ApplyRedaction(Int32, RedactionAnnotation[])
    AttachZugferdInvoice(Byte[], ZugferdVersion, ZugferdConformanceLevel)
    AttachZugferdInvoice(Byte[])
    AttachZugferdInvoice(Stream, ZugferdVersion, ZugferdConformanceLevel)
    AttachZugferdInvoice(Stream)
    ClearContent(Int32, List<OrientedRectangle>, Boolean, Boolean, Boolean, Boolean) Clears the content of a specified PDF page within the specified regions.
    Dispose() Disposes of the PdfDocument object.
    Encrypt(EncryptionOptions) Encrypts a PDF document with the specified encryption options.
    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.
    ExportFormData(Stream, ExportDataFormat) Exports AcroForm data to a stream in the specified format.
    ExportToImages(ImageExportOptions, Int32[]) Exports the specified pages to images with the specified export options.
    ExportToImages(Int32[]) Exports the specified pages to images.
    FindText(String, TextSearchOptions, Int32, Int32) Searches for text within the PDF document. Allows you to specify search options and the range of pages to search.
    FindText(String, Int32, Int32) Searches for text within the specified page range in the PDF document.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    ImportFormData(Stream, ExportDataFormat) Imports AcroForm data from a stream.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    Print(PrintOptions) Prints a PDF document with the specified print options.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    RemoveEncryption() Removes encryption from a PDF document.
    RemoveText(IEnumerable<TextSearchInfo>)
    RemoveText(String, TextSearchOptions, Int32, Int32) Removes all occurrences of the specified text from a PDF document.
    RemoveText(String, Int32, Int32)
    Save(Stream, SaveOptions) Saves a PDF document to the specified stream with the specified options.
    Save(Stream) Saves a PDF document to the specified stream.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also