Back to Devexpress

FormattedTextExportOptions.PageRange Property

corelibraries-devexpress-dot-xtraprinting-dot-formattedtextexportoptions-c152a291.md

latest1.7 KB
Original Source

FormattedTextExportOptions.PageRange Property

Specifies the range of pages to be exported.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public override string PageRange { get; set; }
vb
Public Overrides Property PageRange As String

Property Value

TypeDescription
String

A String value, specifying the range of pages.

|

Remarks

The PageRange property value contains the range of pages which should be exported. The ranges are separated by commas. For example: “ 1,3,5-12 “.

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

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

The PageRange property is ignored in the SingleFile export mode.

See Also

FormattedTextExportOptions Class

FormattedTextExportOptions Members

DevExpress.XtraPrinting Namespace