Method TextOut
TextOut(string, int, int, int)
When implemented by a class, draws text in the specified location.
void TextOut(string text, int len, int x, int y)
Parameters
textstringThe text to be drawn.
lenintSpecifies the length of the string.
xintX-coordinate of the start text point.
yintY-coordinate of the start text point.
TextOut(string, int, int, int, bool, bool)
When implemented by a class, draws text in the specified location.
void TextOut(string text, int len, int x, int y, bool clipped, bool opaque)
Parameters
textstringThe text to be drawn.
lenintSpecifies the length of the string.
xintX-coordinate of the start text point.
yintY-coordinate of the start text point.
clippedboolSpecifies that text will be clipped to the rectangle.
opaqueboolSpecifies that current background color should be used to fill the rectangle.
TextOut(string, int, Rectangle)
When implemented by a class, draws text within the specified rectangle.
void TextOut(string text, int len, Rectangle rect)
Parameters
textstringThe text to be drawn.
lenintSpecifies the length of the string.
rectRectangleSpecifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.
TextOut(string, int, Rectangle, bool, bool)
When implemented by a class, draws text within the specified rectangle.
void TextOut(string text, int len, Rectangle rect, bool clipped, bool opaque)
Parameters
textstringThe text to be drawn.
lenintSpecifies the length of the string.
rectRectangleSpecifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.
clippedboolSpecifies that text will be clipped to the rectangle.
opaqueboolSpecifies that current background color should be used to fill the rectangle.
TextOut(string, int, Rectangle, int, int, bool, bool)
When implemented by a class, draws text within the specified rectangle.
void TextOut(string text, int len, Rectangle rect, int x, int y, bool clipped, bool opaque)
Parameters
textstringThe text to be drawn.
lenintSpecifies the length of the string.
rectRectangleSpecifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.
xintX-coordinate of the start text point.
yintY-coordinate of the start text point.
clippedboolSpecifies that text will be clipped to the rectangle.
opaqueboolSpecifies that current background color should be used to fill the rectangle.
TextOut(string, int, Rectangle, int, int, bool, bool, int)
When implemented by a class, draws text within the specified rectangle.
void TextOut(string text, int len, Rectangle rect, int x, int y, bool clipped, bool opaque, int space)
Parameters
textstringThe text to be drawn.
lenintSpecifies the length of the string.
rectRectangleSpecifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.
xintX-coordinate of the start text point.
yintY-coordinate of the start text point.
clippedboolSpecifies that text will be clipped to the rectangle.
opaqueboolSpecifies that current background color should be used to fill the rectangle.
spaceintSpecifies distance between origins of adjacent character cells.