PdfLoadOptions

PdfLoadOptions class

Options for loading Pdf documents.

public sealed class PdfLoadOptions : LoadOptions, IDocumentsContainerLoadOptions, 
    IFontSubstituteLoadOptions, IFontTransformationLoadOptions, IMetadataLoadOptions, 
    IPageNumberingLoadOptions, IPasswordLoadOptions

Constructors

Name Description
PdfLoadOptions() Initializes new instance of PdfLoadOptions class.

Properties

Name Description
ClearBuiltInDocumentProperties { get; set; } Removes built-in metadata properties from the document.
ClearCustomDocumentProperties { get; set; } Removes custom metadata properties from the document.
ConvertOwned { get; set; } Implements ConvertOwned Default is false
ConvertOwner { get; set; } Implements ConvertOwner Default is true
DefaultFont { get; set; } Default font for Pdf document. The following font will be used if a font is missing.
Depth { get; set; } Implements Depth How many levels of contained documents the conversion goes down, counted from the document the conversion starts from, which is level 0: 0 or a negative value converts no contained document, 1 converts the documents it contains directly, 2 also the documents those contain, and so on. On the document the conversion starts from, it is the limit for the whole conversion. Returned by the load options callback for a contained document at level L, it limits the documents that document contains to level L + Depth, never deeper than the limit of the document the conversion starts from. Default: 2
FlattenAllFields { get; set; } Flatten all the fields of the PDF form.
FontSubstitutes { get; set; } Substitute specific fonts when converting Pdf document.
FontTransformations { get; set; } Transform existing fonts after document loading and font substitution are complete. Font transformations can modify any fonts in the document, including fonts that were successfully loaded.
Format { get; } Input document file type. Is null until a format has been set, so test it for null rather than against Unknown, which it never equals.
virtual Format { get; } Input document file type.
HidePdfAnnotations { get; set; } Hide annotations in Pdf documents.
PageNumbering { get; set; } Enable or disable generation of page numbering in converted document. Default: false
Password { get; set; } Set password to unprotect protected document.
RemoveEmbeddedFiles { get; set; } Remove embedded files.
RemoveJavascript { get; set; } Remove javascript.
ResetFontFolders { get; set; } Reset font folders before loading document

Methods

Name Description
override Equals(object) Determines whether two object instances are equal.
virtual Equals(ValueObject) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.

See Also