Method TextOut
TextOut(string, int, int, int)
Draws text in the specified location.
public virtual 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)
Draws text in the specified location.
public virtual 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)
Draws text within the specified rectangle.
public virtual 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)
Draws text within the specified rectangle.
public virtual 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, bool, bool, int)
Draws text within the specified rectangle.
public virtual void TextOut(string text, int len, Rectangle rect, 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.
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.
TextOut(string, int, Rectangle, int, int, bool, bool)
Draws text within the specified rectangle.
public virtual 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)
Draws text within the specified rectangle.
public virtual 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.