[Root] / Xceed.PdfLibrary.NET Assembly / Xceed.PdfLibrary.NET Namespace / PdfDocument Class
In This Topic
    PdfDocument Class
    In This Topic
    Represents a PDF document.
    Object Model
    PdfDocument ClassAttachmentCollection ClassAttachment ClassBookmarkCollection ClassBookmark ClassPdfDocument ClassFontCollection ClassFont ClassHyperlinkCollection ClassHyperlink ClassImageDefinitionCollection ClassImageDefinition ClassDocumentInformations ClassPdfDocument ClassPageCollection ClassPage ClassPageSettings ClassPathObjectCollection ClassPathObject ClassPdfStandardValidationResult ClassWatermarkDefinitionCollection ClassWatermarkDefinition Class
    Syntax
    public sealed class PdfDocument 
    Remarks
    This class cannot be inherited
    Inheritance Hierarchy

    System.Object
       Xceed.PdfLibrary.NET.PdfDocument

    Public Properties
     NameDescription
    Public PropertyGets all the Bookmarks, including all Bookmarks from lower Levels, found in the PdfDocument.  
    Public PropertyGets the files that are attached to the PDFDocument.  
    Public PropertyGets all the Level 1 Bookmarks that are inserted in the PDFDocument.  
    Public PropertyGets the Fonts used in the PDFDocument.  
    Public PropertyHolds all the FormFields in the PDFDocument.  
    Public PropertyGets all the Hyperlinks in the PDFDocument.  
    Public PropertyGets all the Images in the PDFDocument.  
    Public PropertyGets the informations associated with the PDFDocument.  
    Public PropertyGets if the PDF Document is encypted.  
    Public PropertyGets the name of the PdfDocument.  
    Public PropertyGets all the Pages in the PDFDocument.  
    Public PropertyGets or sets the default page settings for all the new Pages added to the PDFDocument.  
    Public PropertyGets all the Paths in the PDFDocument.  
    Public PropertyGets the Permissions allowed on the PdfDocument.  
    Public PropertyGets the version of the PDFDocument.  
    Public PropertyGets the reusable WatermarkDefinitions configured for the PdfDocument. Document Watermarks are applied to all existing and future Pages.  
    Top
    Public Methods
     NameDescription
    Public MethodClears a signature from a SignatureFormField in the PdfDocument.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new PdfDocument.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Loads the given PDFDocument.  
    Public MethodMerges the content specified in the options into the current PdfDocument.  
    Public Method  
    Public MethodOverloaded. Saves the PDFDocument to a file.  
    Public MethodSigns the PdfDocument.  
    Public Method Splits the PDFDocument into one or more separate PDFDocuments based on the specified options.  
    Public Method  
    Public MethodValidates the signatures of all SignatureFormFields in a PdfDocument.  
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also