TextLine.GetTextBounds(Int32, Int32) Метод

Определение

Получает массив ограничивающих прямоугольников, представляющий диапазон символов в строке текста.

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)

Параметры

firstTextSourceCharacterIndex
Int32

Индекс первого символа заданного диапазона.

textLength
Int32

Число символов в указанном диапазоне.

Возвращаемое значение

Список объектов TextBounds, представляющих ограничивающий прямоугольник.

Применяется к