Draws the specified text string on the Baltie area.
Namespace:
SGP.Baltie2DAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public void DrawString( string value, Font font, Brush brush, int x, int y, StringFormat stringFormat ) |
Parameters
- value
- Type: System..::.String
String to draw.
- font
- Type: System.Drawing..::.Font
The font type Font used for drawing the specified text string.
- brush
- Type: System.Drawing..::.Brush
The foreground brush Brush used for drawing the text string.
- x
- Type: System..::.Int32
The X-coordinate of the upper-left corner of the text string.
- y
- Type: System..::.Int32
The Y-coordinate of the upper-left corner of the text string.
- stringFormat
- Type: System.Drawing..::.StringFormat
A string format StringFormat.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | brush is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::.ArgumentNullException | font is nullNothingnullptra null reference (Nothing in Visual Basic). |