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


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

パラメータ

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

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