Skip to main content

PdfExportOptions.DocumentOptions Property

Gets the options to be embedded as Document Properties of the created PDF file.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.1.Core.dll

Declaration

public PdfDocumentOptions DocumentOptions { get; }

Property Value

Type Description
PdfDocumentOptions

A PdfDocumentOptions object which contains Document Properties options.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DocumentOptions
Cross-Platform Class Library ExportOptions
.Pdf.DocumentOptions
WinForms Controls DiagramOptionsExport
.PdfExportOptions.DocumentOptions
WPF Controls DiagramControl
.PdfExportOptions.DocumentOptions
DiagramDesignerControl
.PdfExportOptions.DocumentOptions
ExportOptionsContainer
.Pdf.DocumentOptions

Remarks

The main Document Properties are:

Note

To check these properties in the resulting PDF file, you need to open this file in Adobe Reader or in Adobe Acrobat, and choose the “Document Properties…” menu item on the “File” menu. Another way is to press the CTRL+D key combination. This will display the Document Properties window.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DocumentOptions property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also