ArcGIS Pro 2.7 API Reference Guide
CustomPages Property (MapSeriesExportOptions)

ArcGIS.Desktop.Layouts Namespace > MapSeriesExportOptions 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 page numbers you see in the Map Series Pages pane. These values correspond to the map series page number settings or field values. You can create a comma-delimted 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-".

When working with a field that contains strings like with roman numeral values, ranges won't work, you must build an explicit list of valid values. An example might be, "VI, VII, VII", or "V, I, II".

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapSeriesExportOptions Class
MapSeriesExportOptions Members