PrintDocument for WinForms
AddHyperlink(String,ParagraphObject) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > ParagraphObjectCollection クラス > AddHyperlink メソッド : AddHyperlink(String,ParagraphObject) メソッド
The text string to add.
A ParagraphObject which is the target of the hyperlink.
Adds a text hyperlink to the current paragraph content.
シンタックス
'宣言
 
Public Overloads Function AddHyperlink( _
   ByVal text As System.String, _
   ByVal paragraphObject As ParagraphObject _
) As ParagraphText
'使用法
 
Dim instance As ParagraphObjectCollection
Dim text As System.String
Dim paragraphObject As ParagraphObject
Dim value As ParagraphText
 
value = instance.AddHyperlink(text, paragraphObject)
public ParagraphText AddHyperlink( 
   System.string text,
   ParagraphObject paragraphObject
)

パラメータ

text
The text string to add.
paragraphObject
A ParagraphObject which is the target of the hyperlink.

戻り値の型

A ParagraphText object representing the specified text string, associated with the specified hyperlink.
解説
This method creates a ParagraphText, initializes it with the specified text, sets the ParagraphObject.Hyperlink on that object to a C1Hyperlink initialized with paragraphObject, and adds it to the current collection.
参照

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