Reports for WPF
AddText(String,Font,Color,TextPositionEnum) メソッド

C1.WPF.C1Report.4 アセンブリ > C1.C1Preview 名前空間 > ParagraphObjectCollection クラス > AddText メソッド : AddText(String,Font,Color,TextPositionEnum) メソッド
追加するテキスト文字列。
文字列のレンダリングに使用するフォント。
文字列のレンダリングに使用するテキスト色。
文字列のレンダリングに使用するテキスト位置。
指定されたフォント、テキスト色、および位置のテキスト文字列を、現在のパラグラフのコンテンツに追加します。
シンタックス
'宣言
 
Public Overloads Function AddText( _
   ByVal text As System.String, _
   ByVal font As System.Drawing.Font, _
   ByVal textColor As System.Windows.Media.Color, _
   ByVal textPosition As TextPositionEnum _
) As ParagraphText
public ParagraphText AddText( 
   System.string text,
   System.Drawing.Font font,
   System.Windows.Media.Color textColor,
   TextPositionEnum textPosition
)

パラメータ

text
追加するテキスト文字列。
font
文字列のレンダリングに使用するフォント。
textColor
文字列のレンダリングに使用するテキスト色。
textPosition
文字列のレンダリングに使用するテキスト位置。

戻り値の型

指定されたテキスト文字列を表す ParagraphText オブジェクト。
解説
このメソッドは ParagraphText を作成し、 それを指定のテキスト、フォント、テキスト色、および位置で初期化して、 現在のコレクションに追加します。
参照

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