Table of Contents

Method TextOut

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

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 string

The text to be drawn.

len int

Specifies the length of the string.

x int

X-coordinate of the start text point.

y int

Y-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 string

The text to be drawn.

len int

Specifies the length of the string.

x int

X-coordinate of the start text point.

y int

Y-coordinate of the start text point.

clipped bool

Specifies that text will be clipped to the rectangle.

opaque bool

Specifies 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 string

The text to be drawn.

len int

Specifies the length of the string.

rect Rectangle

Specifies 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 string

The text to be drawn.

len int

Specifies the length of the string.

rect Rectangle

Specifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.

clipped bool

Specifies that text will be clipped to the rectangle.

opaque bool

Specifies 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 string

The text to be drawn.

len int

Specifies the length of the string.

rect Rectangle

Specifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.

x int

X-coordinate of the start text point.

y int

Y-coordinate of the start text point.

clipped bool

Specifies that text will be clipped to the rectangle.

opaque bool

Specifies 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 string

The text to be drawn.

len int

Specifies the length of the string.

rect Rectangle

Specifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.

x int

X-coordinate of the start text point.

y int

Y-coordinate of the start text point.

clipped bool

Specifies that text will be clipped to the rectangle.

opaque bool

Specifies that current background color should be used to fill the rectangle.

space int

Specifies distance between origins of adjacent character cells.