New to Telerik Document Processing? Start a free 30-day trial

Configuration for PDF export, controlling encryption, compliance, compression, fonts, tagging, and exception handling.

Definition

Namespace:Telerik.Documents.Fixed.FormatProviders.Pdf.Export

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class PdfExportSettings

Inheritance: objectPdfExportSettings

Derived Classes: PdfExportSettings

Constructors

Initializes a new instance of the PdfExportSettings class.

C#
public PdfExportSettings()

Properties

Target PDF/A or PDF/UA level; may restrict features to satisfy conformance.

C#
public PdfComplianceLevel ComplianceLevel { get; set; }
Property Value:

The compliance level.

Encryption algorithm applied when IsEncrypted is true.

C#
public EncryptionType EncryptionType { get; set; }

Font embedding strategy used for export, affecting portability and file size.

C#
public FontEmbeddingType FontEmbeddingType { get; set; }

Image encoding filter(s) to use; only a single value is supported by the current implementation.

C#
public ImageFilterTypes[] ImageCompression { get; set; }

Default image quality used when re-encoding images; higher values increase fidelity and file size. Overridden by per-image settings.

C#
public ImageQuality ImageQuality { get; set; }
Property Value:

The image quality.

Enable encryption for the exported PDF using the selected EncryptionType.

C#
public bool IsEncrypted { get; set; }
Property Value:

True if the document should be encrypted; otherwise, false.

Gets or sets the owner password.

C#
public string OwnerPassword { get; set; }
Property Value:

The owner password.

Include XFA content in the exported PDF when present.

C#
public bool ShouldExportXfa { get; set; }
Property Value:

True if the document should export XFA; otherwise, false.

Content stream encoding filter(s) to use; only a single value is supported by the current implementation.

C#
public StreamFilterTypes[] StreamCompression { get; set; }

Remove JavaScript actions during export to improve security or meet compliance requirements.

C#
public bool StripJavaScriptActions { get; set; }
Property Value:

True if the document should strip the JavaScript actions; otherwise, false.

Omit the StructureTree from the exported PDF to reduce size or when not required.

C#
public bool StripStructureTree { get; set; }
Property Value:

True if the document should strip the structure tree; otherwise, false.

Tagging strategy used to produce an accessible StructureTree.

C#
public TaggingStrategyType TaggingStrategy { get; set; }

Gets or sets the user access permissions. These permissions specify which access permissions should be granted when the document is opened with user access. In order to be applied the IsEncrypted property should be set to true.

C#
public UserAccessPermissions UserAccessPermissions { get; set; }
Property Value:

The user access permissions.

Gets or sets the user password.

C#
public string UserPassword { get; set; }
Property Value:

The user password.

Methods

Determines whether the object can raise an exception event.

C#
public bool CanRaiseEvent()
Returns:

bool

True if the object can raise an exception event; otherwise, false.

C#
public void RaiseEvent(DocumentUnhandledExceptionEventArgs args)
Parameters:argsDocumentUnhandledExceptionEventArgs

The DocumentUnhandledExceptionEventArgs containing the event data.

Events

Raised when an unhandled exception occurs during export.

C#
public event EventHandler<DocumentUnhandledExceptionEventArgs> DocumentUnhandledException