Skip to main content
All docs
V25.1
  • DXPrinterSettings.PageRange Property

    Specifies the range of pages for printing.

    Namespace: DevExpress.Drawing.Printing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public virtual string PageRange { get; set; }

    Property Value

    Type Description
    String

    A String that defines the page range.

    Property Paths

    You can access this nested property as listed below:

    Library Object Type Path to PageRange
    Cross-Platform Class Library PrintDocumentEventArgs
    .PrinterSettings .PageRange
    Office File API PrintOptions
    .PrinterSettings .PageRange
    PdfPrinterSettings
    .DXSettings .PageRange

    Remarks

    The property value can specify a single page (5), a range of pages (1-5), or a collection of page numbers and ranges separated by commas (2-5,8,10-12). Pages are always printed in ascending order, regardless of the order you specify in the property value.

    See Also