'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 rectA System.Drawing.RectangleF structure that specifies the location of the drawn text.As System.Drawing.RectangleF, _
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, _
ByVal lineSpacingLine spacing.As Single _
)
public void DrawString(
System.String s,
Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont font,
float fontSize,
PdfBrush brush,
System.Drawing.RectangleF rect,
PdfContentAlignment textAlignment,
bool wordWrap,
float lineSpacing
)
public: void DrawString(
System.String s,
Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont* font,
float fontSize,
PdfBrush* brush,
System.Drawing.RectangleF* rect,
PdfContentAlignment textAlignment,
bool wordWrap,
float lineSpacing
)
public:
void DrawString(
System.String s,
Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont^ font,
float fontSize,
PdfBrush^ brush,
System.Drawing.RectangleF^ rect,
PdfContentAlignment textAlignment,
bool wordWrap,
float lineSpacing
)
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.
- rect
- A System.Drawing.RectangleF structure that specifies the location of the drawn text.
- textAlignment
- Text alignment.
- wordWrap
- A value indicating whether to enable automatic word wrap to the beginning of the next line when necessary.
- lineSpacing
- Line spacing.