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, Brush backBrush, int x, int y, int w, int h ) |
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.
- backBrush
- Type: System.Drawing..::.Brush
The background brush Brush being used to fill area under 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.
- w
- Type: System..::.Int32
The width of the drawn area.
- h
- Type: System..::.Int32
The height of the drawn area.
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). |