TextBounds Class

 

Represents the bounding rectangle of a range of characters.

Namespace:   System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

System.Object
  System.Windows.Media.TextFormatting.TextBounds

public sealed class TextBounds

NameDescription
System_CAPS_pubpropertyFlowDirection

Gets the text flow direction for the TextBounds object.

System_CAPS_pubpropertyRectangle

Gets the bounding rectangle for the TextBounds object.

System_CAPS_pubpropertyTextRunBounds

Gets a list of TextRunBounds objects.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

To retrieve information on the bounding rectangle of a TextRun, use TextRunBounds.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: