ImageExportOptions.PageRange Property

Specifies the range of pages to be exported.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v21.1.Core.dll

Declaration

public override string PageRange { get; set; }

Property Value

Type Description
String

A String value, specifying the range of pages. The ranges are defined using hyphens and separated by commas. For example: “1,3,5-12”.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to PageRange
Cross-Platform Class Library ExportOptions
.Image.PageRange
WPF Controls ExportOptionsContainer
.Image.PageRange

Remarks

Only valid page numbers are taken into account. When some of the pages specified in a page range are missing in the current document, invalid page numbers are ignored. When there are no valid page numbers in the specified page range, all pages of the document are exported.

The PageRange property is ignored when the ImageExportOptions.ExportMode property is set to ImageExportMode.SingleFile.

See Also