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


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

パラメータ

image
The image to add.
anchorName
The name of the anchor which is the target of the hyperlink.

戻り値の型

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

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