[]
        
(Showing Draft Content)

C1.C1Preview.RenderTocItem

RenderTocItem Class

Represents a single entry in the table of contents (TOC; RenderToc) in a C1PrintDocument.

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.4.8.dll
Syntax
public class RenderTocItem : RenderParagraph, IStyleOwner, IDocumentLocation

Constructors

Name Description
RenderTocItem()

Initializes a new instance of the RenderTocItem class.

Properties

Name Description
HasText

Gets a value indicating whether the current TOC entry will produce visible output in the generated document.

Level

Gets or sets the level of the current entry in the TOC. This value is 1-based, and determines the indentation of the current item in the generated TOC. The default value is 1, which does not indent the entry. Nested levels are indented by the LevelSpacing amount.

RenderToc

Gets the RenderToc object containing the current TOC entry.

TextLength

Gets the count of characters in the current TOC entry.