'Declaration Public Overloads Sub DrawString( _
ByVal sString to draw.As System.String, _
ByVal fontPdfFont that defines the text format of the string.As Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont, _
ByVal fontSizeFont size.As Single, _
ByVal brushA PdfBrush that determines the color of the drawn text.As PdfBrush, _
ByVal xX coordinate of drawn rectangle.As Single, _
ByVal yY coordinate of drawn rectangle.As Single, _
ByVal widthWidth of drawn rectangle.As Single, _
ByVal heightHeight of drawn rectangle.As Single, _
ByVal textAlignmentText alignment.As PdfContentAlignment, _
ByVal wordWrapA value indicating whether to enable automatic word wrap to the beginning of the next line when necessary.As Boolean _
)
public void DrawString(
System.String s,
Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont font,
float fontSize,
PdfBrush brush,
float x,
float y,
float width,
float height,
PdfContentAlignment textAlignment,
bool wordWrap
)
Parameters
- s
- String to draw.
- font
- PdfFont that defines the text format of the string.
- fontSize
- Font size.
- brush
- A PdfBrush that determines the color of the drawn text.
- x
- X coordinate of drawn rectangle.
- y
- Y coordinate of drawn rectangle.
- width
- Width of drawn rectangle.
- height
- Height of drawn rectangle.
- textAlignment
- Text alignment.
- wordWrap
- A value indicating whether to enable automatic word wrap to the beginning of the next line when necessary.