In This Article

ITextBounds Interface

Provides the base requirements for an object that describes the location, size, and flow direction of a range of text.

public interface ITextBounds

Properties

Bottom

Gets the y-axis value of the bottom of the bounds (Y + Height).

double Bottom { get; }

Property Value

double:

The y-axis value of the bottom of the bounds.

Height

Gets the height of the bounds.

double Height { get; }

Property Value

double:

The height of the bounds.

IsRightToLeft

Gets whether the bounds use a right-to-left flow direction.

bool IsRightToLeft { get; }

Property Value

bool:

true if the bounds use a right-to-left flow direction; otherwise, false.

Left

Gets the x-axis position of the left side of the bounds. Getting this property is equivalent to getting the bounds's X property.

double Left { get; }

Property Value

double:

The x-axis position of the left side of the bounds.

Rect

Gets a native rectangle that specifies the bounds.

Rect Rect { get; }

Property Value

Rect:

A native rectangle that specifies the bounds.

Right

Gets the x-axis value of the right side of the bounds (X + Width).

double Right { get; }

Property Value

double:

The x-axis value of the right side of the bounds.

Top

Gets the y-axis position of the top of the bounds. Getting this property is equivalent to getting the bounds's Y property.

double Top { get; }

Property Value

double:

The y-axis position of the top of the bounds.

Width

Gets the width of the bounds.

double Width { get; }

Property Value

double:

The width of the bounds.

X

Gets the x-axis position of the left side of the bounds.

double X { get; }

Property Value

double:

The x-axis position of the left side of the bounds.

Y

Gets the y-axis position of the top of the bounds.

double Y { get; }

Property Value

double:

The y-axis position of the top of the bounds.