PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderIndex Class / PageRangeFormat Property

In This Topic
    PageRangeFormat Property
    In This Topic
    Gets or sets a format string used to format the page ranges of occurrences of index entries in the generated index.

    The default is "{0}-{1}".

    Syntax
    'Declaration
     
    Public Property PageRangeFormat As String
    public string PageRangeFormat {get; set;}
    Remarks
    When an index entry occurs on consecutive pages in a document (e.g. on pages 3, 4 and 5), those occurrences are collapsed into a range ("3-5" in that case). PageRangeFormat is used to format those ranges.
    See Also