DrawString(String,RectangleF,TextAlignType,TextAlignType) Method
In This Topic
Draw string at specified area with word wrap.
Syntax
'Declaration
Public Overloads Sub DrawString( _
ByVal As System.String, _
ByVal As System.Drawing.RectangleF, _
Optional ByVal As TextAlignType, _
Optional ByVal As TextAlignType _
)
public void DrawString(
System.string ,
System.Drawing.RectangleF ,
TextAlignType ,
TextAlignType
)
Parameters
- s
- String to draw.
- rc
- Rectangle for text drawing in pixcels.
- horz
- Horizontal text aligment.
- vert
- Vertical text aligment.
See Also