PrintDocument for WinForms
AddAnchor(String,String) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > AddAnchor メソッド : AddAnchor(String,String) メソッド
A string assigned to the C1Anchor.Name of the anchor.
A string assigned to the C1Anchor.Description of the anchor.
Adds an anchor (C1Anchor or C1AnchorText) at the current position in the document. Can be used only if C1PrintDocument.IsStartEndDocMode is true.

This method is equivalent to C1PrintDocument.AddAnchor with the last parameter (user data) specified as null value.

シンタックス
'宣言
 
Public Overloads Sub AddAnchor( _
   ByVal name As System.String, _
   ByVal description As System.String _
) 
'使用法
 
Dim instance As C1PrintDocument
Dim name As System.String
Dim description As System.String
 
instance.AddAnchor(name, description)
public void AddAnchor( 
   System.string name,
   System.string description
)

パラメータ

name
A string assigned to the C1Anchor.Name of the anchor.
description
A string assigned to the C1Anchor.Description of the anchor.
参照

C1PrintDocument クラス
C1PrintDocument メンバ
オーバーロード一覧
AddAnchor(String,String,Object) メソッド