Interface IDocumentExportOptions

Document export options.

Namespace: PSPDFKitFoundation
Assembly: PSPDFKitFoundation.dll
Syntax
public interface IDocumentExportOptions

Properties

Flattened

Flatten the annotations.

Declaration
bool Flattened { get; set; }
Property Value
Type Description
System.Boolean

Format

Target file format. Can be PDF (Pdf), image (Png, Jpeg), or KeepOriginal.

Declaration
Format Format { get; set; }
Property Value
Type Description
Format

Incremental

Save incrementally. Has no effect if Flattened or RemoveSecurity is true. Also has no effect if exporting to an image.

Declaration
bool Incremental { get; set; }
Property Value
Type Description
System.Boolean

OwnerPassword

The owner password generally controls the editing of a document and is required as soon as you want to encrypt a document that isn't already password protected. If you have opened a document with a password it is not necessary to set this in order to save with the same password protection.

Declaration
string OwnerPassword { get; set; }
Property Value
Type Description
System.String

RemoveSecurity

To remove password protection from the document set this to true. If set to true then the passwords are ignored.

Declaration
bool RemoveSecurity { get; set; }
Property Value
Type Description
System.Boolean

UserPassword

The user password prevents users from viewing the PDF. It’s optional but if you specify it, you also need to specify an owner password.

Declaration
string UserPassword { get; set; }
Property Value
Type Description
System.String