'Declaration Public Overloads Sub DrawString( _ ByVal s As String, _ ByVal font As PdfFont, _ ByVal fontSize As Single, _ ByVal brush As PdfBrush, _ ByVal rect As RectangleF, _ ByVal textAlignment As PdfContentAlignment, _ ByVal wordWrap As Boolean _ )
public void DrawString( string s, PdfFont font, float fontSize, PdfBrush brush, RectangleF rect, PdfContentAlignment textAlignment, bool wordWrap )
public: void DrawString( string* s, PdfFont* font, float fontSize, PdfBrush* brush, RectangleF rect, PdfContentAlignment textAlignment, bool wordWrap )
public: void DrawString( String^ s, PdfFont^ font, float fontSize, PdfBrush^ brush, RectangleF rect, PdfContentAlignment textAlignment, bool wordWrap )
Parameters
- s
- String to draw.
- font
- Vintasoft.Imaging.Pdf.Tree.Fonts.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
- Enables automatically wraps words to the beginning of the next line when necessary.