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


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

パラメータ

text
The text string to add.
target
A C1LinkTarget which is the target of the hyperlink.
style
A style used to render the string.

戻り値の型

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

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