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 Export |
---|---|---|
Cross-Platform Class Library | Export |
|
Win |
Diagram |
|
WPF Controls | Diagram |
|
#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
Export
is not in effect for the Rich
suite. Specify the Bookmark