Uredi

Deli z drugimi prek


TextLine.GetTextBounds(Int32, Int32) Method

Definition

Gets an array of bounding rectangles that represent the range of characters within a text line.

public:
 abstract System::Collections::Generic::IList<System::Windows::Media::TextFormatting::TextBounds ^> ^ GetTextBounds(int firstTextSourceCharacterIndex, int textLength);
public abstract System.Collections.Generic.IList<System.Windows.Media.TextFormatting.TextBounds> GetTextBounds (int firstTextSourceCharacterIndex, int textLength);
abstract member GetTextBounds : int * int -> System.Collections.Generic.IList<System.Windows.Media.TextFormatting.TextBounds>
Public MustOverride Function GetTextBounds (firstTextSourceCharacterIndex As Integer, textLength As Integer) As IList(Of TextBounds)

Parameters

firstTextSourceCharacterIndex
Int32

The index of first character of specified range.

textLength
Int32

The number of characters of the specified range.

Returns

A list of TextBounds objects representing the bounding rectangle.

Applies to