PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RenderIndex Class
Members

In This Topic
    RenderIndex Class
    In This Topic
    Represents an alphabetical, optionally multi-level, word index in a C1PrintDocument.
    Object Model
    RenderIndex Class
    Syntax
    'Declaration
     
    Public Class RenderIndex 
       Inherits RenderArea
       Implements IDocumentLocationIStyleOwner 
    public class RenderIndex : RenderArea, IDocumentLocationIStyleOwner  
    Remarks
    To create an index, follow these steps:
    • Create an instance of the RenderIndex class, store it in a local variable.
    • For each index entry, create an instance of the IndexEntry class.
    • For each occurrence of each index entry in the document, create an instance of the IndexEntryOccurrence class, and set the Target on it to point to the location of that occurrence in the document.
    • After all occurrences have been added to their entries, and all entries have been added to the Entries, add the RenderIndex object created in the first step, to the document. When the document generates, that object will create the alphabetically sorted word index with clickable page numbers.
    Inheritance Hierarchy

    System.Object
       C1.C1Preview.RenderObject
          C1.C1Preview.RenderArea
             C1.C1Preview.RenderIndex

    See Also