TextOut Method
TextOut(String, Int32, Int32, Int32)
When implemented by a class, draws text in the specified location.
Declaration
void TextOut(string text, int len, int x, int y)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to be drawn. |
Int32 | len | Specifies the length of the string. |
Int32 | x | X-coordinate of the start text point. |
Int32 | y | Y-coordinate of the start text point. |
TextOut(String, Int32, Int32, Int32, Boolean, Boolean)
When implemented by a class, draws text in the specified location.
Declaration
void TextOut(string text, int len, int x, int y, bool clipped, bool opaque)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to be drawn. |
Int32 | len | Specifies the length of the string. |
Int32 | x | X-coordinate of the start text point. |
Int32 | y | Y-coordinate of the start text point. |
Boolean | clipped | Specifies that text will be clipped to the rectangle. |
Boolean | opaque | Specifies that current background color should be used to fill the rectangle. |
TextOut(String, Int32, Rectangle)
When implemented by a class, draws text within the specified rectangle.
Declaration
void TextOut(string text, int len, Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to be drawn. |
Int32 | len | Specifies the length of the string. |
Rectangle | rect | Specifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both. |
TextOut(String, Int32, Rectangle, Boolean, Boolean)
When implemented by a class, draws text within the specified rectangle.
Declaration
void TextOut(string text, int len, Rectangle rect, bool clipped, bool opaque)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to be drawn. |
Int32 | len | Specifies the length of the string. |
Rectangle | rect | Specifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both. |
Boolean | clipped | Specifies that text will be clipped to the rectangle. |
Boolean | opaque | Specifies that current background color should be used to fill the rectangle. |
TextOut(String, Int32, Rectangle, Int32, Int32, Boolean, Boolean)
When implemented by a class, draws text within the specified rectangle.
Declaration
void TextOut(string text, int len, Rectangle rect, int x, int y, bool clipped, bool opaque)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to be drawn. |
Int32 | len | Specifies the length of the string. |
Rectangle | rect | Specifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both. |
Int32 | x | X-coordinate of the start text point. |
Int32 | y | Y-coordinate of the start text point. |
Boolean | clipped | Specifies that text will be clipped to the rectangle. |
Boolean | opaque | Specifies that current background color should be used to fill the rectangle. |
TextOut(String, Int32, Rectangle, Int32, Int32, Boolean, Boolean, Int32)
When implemented by a class, draws text within the specified rectangle.
Declaration
void TextOut(string text, int len, Rectangle rect, int x, int y, bool clipped, bool opaque, int space)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to be drawn. |
Int32 | len | Specifies the length of the string. |
Rectangle | rect | Specifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both. |
Int32 | x | X-coordinate of the start text point. |
Int32 | y | Y-coordinate of the start text point. |
Boolean | clipped | Specifies that text will be clipped to the rectangle. |
Boolean | opaque | Specifies that current background color should be used to fill the rectangle. |
Int32 | space | Specifies distance between origins of adjacent character cells. |