PdfExportOptions.ExportBookmarks Property
Specifies whether to include bookmarks to the exported document.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Property Paths
You can access this nested property as listed below:
| Library | Object Type | Path to ExportBookmarks |
|---|---|---|
| Cross-Platform Class Library | ExportOptions |
|
| WinForms Controls | DiagramOptionsExport |
|
| WPF Controls | DiagramControl |
|
Remarks
The following code snippet excludes bookmarks from the exported document when exporting a report to PDF:
using DevExpress.XtraPrinting;
// ...
private void simpleButton1_Click(object sender, EventArgs e) {
var report = new XtraReport1();
report.ExportOptions.Pdf.ExportBookmarks = false;
report.ExportToPdf("test.pdf");
}
Note
ExportBookmarks is not in effect for the RichEdit suite. Specify the BookmarkOptions.DisplayBookmarksInPdfNavigationPane property value instead.
See Also