public enum ExportPageOptions : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum ExportPageOptions Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum ExportPageOptions : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum ExportPageOptions Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
ExportAllPages | Export all pages. |
ExportByPageRange | Export a custom page range. |
ExportEvenPagesOnly | Export even pages only. |
ExportLastPage | Export the last page only. |
ExportOddPagesOnly | Export odd pages only. |
ExportSelectedIndexFeatures | Export the selected index features. |
ExportSelectedPage | Export the selected page. |
ExportSelectedTOCPages | Export the selected TOC pages. |
//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);
System.Object
System.ValueType
System.Enum
ArcGIS.Desktop.Mapping.ExportPageOptions
Target Platforms: Windows 11, Windows 10, Windows 8.1