ArcGIS Pro 2.9 API Reference Guide
CustomPages Property (ReportExportOptions)

ArcGIS.Desktop.Reports Namespace > ReportExportOptions Class : CustomPages Property
Gets or sets a string that represents a list of pages and/or page ranges.
Syntax
public string CustomPages {get; set;}
Public Property CustomPages As String
Remarks

The values in the string represent the pages to export. You can create a comma-delimited list of pages or you can use a hyphen to designate a range. An example might be, "1-3, 5" or , "1, 2, 23-28, 45, 63-65". When using a hyphen, it must be used between two existing values. You can't use the hyphen as a wildcard like "65-".

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ReportExportOptions Class
ReportExportOptions Members