Creates a new
RenderTocItem initialized with the specified text, target page number and level, and adds it to the current TOC.
'Declaration
Public Overloads Function AddItem( _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As RenderTocItem
public RenderTocItem AddItem(
System.string ,
System.int ,
System.int
)
Parameters
- text
- A text representing the TOC item that is being added.
- pageNo
- The page number which is the target of the TOC item.
- level
- The RenderTocItem.Level of the TOC item.
Return Value
The
RenderTocItem that was created and added to the current TOC.