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


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

パラメータ

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.

戻り値の型

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

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