PrintDocument for WinForms
AddText(String,Font) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > ParagraphObjectCollection クラス > AddText メソッド : AddText(String,Font) メソッド
The text string to add.
The font to use to render the string.
Adds a text string with the specified font to the current paragraph content.
シンタックス
'宣言
 
Public Overloads Function AddText( _
   ByVal text As System.String, _
   ByVal font As System.Drawing.Font _
) As ParagraphText
'使用法
 
Dim instance As ParagraphObjectCollection
Dim text As System.String
Dim font As System.Drawing.Font
Dim value As ParagraphText
 
value = instance.AddText(text, font)
public ParagraphText AddText( 
   System.string text,
   System.Drawing.Font font
)

パラメータ

text
The text string to add.
font
The font to use to render the string.

戻り値の型

A ParagraphText object representing the specified text string.
解説
This method creates a ParagraphText, initializes it with the specified text and font, and adds it to the current collection.
参照

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