DioDocs for PDF
DrawString(String,TextFormat,RectangleF,TextAlignment,ParagraphAlignment,Boolean) メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > DrawString メソッド : DrawString(String,TextFormat,RectangleF,TextAlignment,ParagraphAlignment,Boolean) メソッド
The string to draw.
The text format to use.
The target rectangle.
The text alignment (GrapeCity.Documents.Text.TextAlignment.Leading by default).
The paragraph alignment (GrapeCity.Documents.Text.ParagraphAlignment.Near by default).
Whether to use word wrapping (true by default).
Draws a string using a specified GrapeCity.Documents.Text.TextFormat within a rectangle using a specified text alignment, paragraph alignment and word wrapping flag.
シンタックス
'宣言
 
Public Overloads Sub DrawString( _
   ByVal text As System.String, _
   ByVal textFormat As TextFormat, _
   ByVal rect As System.Drawing.RectangleF, _
   Optional ByVal textAlignment As TextAlignment, _
   Optional ByVal paragraphAlignment As ParagraphAlignment, _
   Optional ByVal wordWrap As System.Boolean _
) 
public void DrawString( 
   System.string text,
   TextFormat textFormat,
   System.Drawing.RectangleF rect,
   TextAlignment textAlignment,
   ParagraphAlignment paragraphAlignment,
   System.bool wordWrap
)

パラメータ

text
The string to draw.
textFormat
The text format to use.
rect
The target rectangle.
textAlignment
The text alignment (GrapeCity.Documents.Text.TextAlignment.Leading by default).
paragraphAlignment
The paragraph alignment (GrapeCity.Documents.Text.ParagraphAlignment.Near by default).
wordWrap
Whether to use word wrapping (true by default).
参照

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