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


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

パラメータ

text
The text string to add.
textColor
The text color 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 text color, and adds it to the current collection.
参照

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