Creates a new RenderTocItem initialized with the specified
text and hyperlink, and adds it to the current TOC.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public RenderTocItem AddItem( string text, C1Hyperlink hyperlink ) |
Visual Basic |
---|
Public Function AddItem ( _ text As String, _ hyperlink As C1Hyperlink _ ) As RenderTocItem |
Parameters
- text
- Type: System..::..String
A text representing the TOC item that is being added.
- hyperlink
- Type: C1.C1Preview..::..C1Hyperlink
A C1Hyperlink which is the target of the TOC item.