public ExportPageOptions ExportPageOption {get; set;}
Public Property ExportPageOption As ExportPageOptions
public ExportPageOptions ExportPageOption {get; set;}
Public Property ExportPageOption As ExportPageOptions
Specify the collection of pages by choosing one of the ExportPageOption.
The Custom
option requires that you also set the CustomPages property.
The SelectedIndexFeatures
option only applies to a spatial map series.
//Note: Call within QueuedTask.Run() //Define Export Options var exportOptions = new ReportExportOptions { ExportPageOption = ExportPageOptions.ExportAllPages, TotalPageNumberOverride = 0 }; //Create PDF format with appropriate settings PDFFormat pdfFormat = new PDFFormat(); pdfFormat.Resolution = 300; pdfFormat.OutputFileName = path; report.ExportToPDF($"{report.Name}", pdfFormat, exportOptions, useSelection);
Target Platforms: Windows 11, Windows 10, Windows 8.1