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
text
stringThe text to be drawn.
len
intSpecifies the length of the string.
x
intX-coordinate of the start text point.
y
intY-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
text
stringThe text to be drawn.
len
intSpecifies the length of the string.
x
intX-coordinate of the start text point.
y
intY-coordinate of the start text point.
clipped
boolSpecifies that text will be clipped to the rectangle.
opaque
boolSpecifies 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
text
stringThe text to be drawn.
len
intSpecifies the length of the string.
rect
RectangleSpecifies 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
text
stringThe text to be drawn.
len
intSpecifies the length of the string.
rect
RectangleSpecifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.
clipped
boolSpecifies that text will be clipped to the rectangle.
opaque
boolSpecifies 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
text
stringThe text to be drawn.
len
intSpecifies the length of the string.
rect
RectangleSpecifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.
x
intX-coordinate of the start text point.
y
intY-coordinate of the start text point.
clipped
boolSpecifies that text will be clipped to the rectangle.
opaque
boolSpecifies 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
text
stringThe text to be drawn.
len
intSpecifies the length of the string.
rect
RectangleSpecifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.
x
intX-coordinate of the start text point.
y
intY-coordinate of the start text point.
clipped
boolSpecifies that text will be clipped to the rectangle.
opaque
boolSpecifies that current background color should be used to fill the rectangle.
space
intSpecifies distance between origins of adjacent character cells.