'Declaration Public Overloads Function DrawString( _ ByVal text As System.String, _ ByVal font As System.Drawing.Font, _ ByVal color As System.Drawing.Color, _ ByVal pt As System.Drawing.PointF, _ Optional ByVal widthCoeff As System.Single _ ) As System.Integer
public System.int DrawString( System.string text, System.Drawing.Font font, System.Drawing.Color color, System.Drawing.PointF pt, System.float widthCoeff )
Parameters
- text
- String to draw.
- font
- System.Drawing.Font object that defines the appearance and size of the drawn text.
- color
- The object that defines the color of the drawn text.
- pt
- The point structure that specifies the location of the drawn text, in points from the top left corner of the page.
- widthCoeff
- The width coefficient of text characters, by default 1.0, for double width 2.0..
Return Value
The index of first character that was not printed because it did not fit in the specified rectangle.