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 As System.String, _
ByVal As TextFormat, _
ByVal As System.Drawing.RectangleF, _
Optional ByVal As TextAlignment, _
Optional ByVal As ParagraphAlignment, _
Optional ByVal As System.Boolean _
)
public void DrawString(
System.string ,
TextFormat ,
System.Drawing.RectangleF ,
TextAlignment ,
ParagraphAlignment ,
System.bool
)
パラメータ
- 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).
参照