Click or drag to resize
Pdftools logo

PreparedDocument Class

A document that has been prepared for signing

Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.PdfDocument
        PdfTools.SignPreparedDocument

Namespace: PdfTools.Sign
Assembly: PdfTools (in PdfTools.dll) Version: 1.1.0.0
Syntax
C#
public class PreparedDocument : Document

The PreparedDocument type exposes the following members.

Properties
 NameDescription
Public propertyConformance

The claimed conformance of the document

This method only returns the claimed conformance level, the document is not validated.

This property can return if the document's conformance is unknown.


(Inherited from Document)
Public propertyIsLinearized

Whether the document is linearized


(Inherited from Document)
Public propertyIsSigned
(Inherited from Document)
Public propertyMetadata

The metadata of the document.


(Inherited from Document)
Public propertyPageCount

The number of pages in the document

If the document is a collection (also known as PDF Portfolio), then this property is 0.
(Inherited from Document)
Public propertyPermissions

The access permissions applicable for this document

This property is , if the document is not encrypted.

Note that these permissions might be different from the "Document Restrictions Summary" displayed in Adobe Acrobat. This is because Acrobat's restrictions are also affected by other factors. For example, "Document Assembly" is generally only allowed in Acrobat Pro and not the Acrobat Reader.


(Inherited from Document)
Public propertySignatureFields
(Inherited from Document)
Public propertyXfa

Whether the document is an XML Forms Architecture (XFA) or a PDF document

While XFA documents may seem like regular PDF documents they are not and cannot be processed by many components (error UnsupportedFeatureException). An XFA form is included as a resource in a mere shell PDF. The PDF pages' content is generated dynamically from the XFA data, which is a complex, non-standardized process. For this reason, XFA is forbidden by the ISO Standards ISO 19'005-2 (PDF/A-2) and ISO 32'000-2 (PDF 2.0) and newer. It is recommended to convert XFA documents to PDF using an Adobe product, e.g. by using the "Print to PDF" function of Adobe Acrobat Reader.
(Inherited from Document)
Top
Methods
 NameDescription
Public methodDispose

Close the object.

Release all resources associated with the object.
(Inherited from Document)
Public methodEquals
(Inherited from NativeObject)
Public methodGetHash

Calculate the hash value

Calculate the hash value to create the signature from.
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also