Back to Devexpress

PageByPageExportOptionsBase.PageRange Property

corelibraries-devexpress-dot-xtraprinting-dot-pagebypageexportoptionsbase.md

latest1.8 KB
Original Source

PageByPageExportOptionsBase.PageRange Property

Gets or sets the page range to be exported.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue("")]
public virtual string PageRange { get; set; }
vb
<DefaultValue("")>
Public Overridable Property PageRange As String

Property Value

TypeDefaultDescription
StringString.Empty

A page range.

|

Remarks

The PageRange property value contains the page range to be exported. Ranges are separated by commas. For example: “1,3,5-12”.

Note

If not all pages from a specified page range exist in the current document, invalid page numbers are ignored. Only valid page numbers are taken into account.

If there are no valid page numbers in the page range string, all document pages are exported.

Pages included in a range keep their original page numbers. A range does not recalculate page numbers.

See Also

PageByPageExportOptionsBase Class

PageByPageExportOptionsBase Members

DevExpress.XtraPrinting Namespace