[]
        
(Showing Draft Content)

C1.C1Preview.RenderIndex.PageRangeFormat

PageRangeFormat Property

PageRangeFormat

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}".

Declaration
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.