PrintDocument for WinForms
AddItem(String,C1Hyperlink) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderToc クラス > AddItem メソッド : AddItem(String,C1Hyperlink) メソッド
A text representing the TOC item that is being added.
A C1Hyperlink which is the target of the TOC item.
Creates a new RenderTocItem initialized with the specified text and hyperlink, and adds it to the current TOC.
シンタックス
'宣言
 
Public Overloads Function AddItem( _
   ByVal text As System.String, _
   ByVal hyperlink As C1Hyperlink _
) As RenderTocItem
'使用法
 
Dim instance As RenderToc
Dim text As System.String
Dim hyperlink As C1Hyperlink
Dim value As RenderTocItem
 
value = instance.AddItem(text, hyperlink)
public RenderTocItem AddItem( 
   System.string text,
   C1Hyperlink hyperlink
)

パラメータ

text
A text representing the TOC item that is being added.
hyperlink
A C1Hyperlink which is the target of the TOC item.

戻り値の型

The RenderTocItem that was created and added to the current TOC.
参照

RenderToc クラス
RenderToc メンバ
オーバーロード一覧