TextLine.GetTextBounds(Int32, Int32) Metoda

Definicja

Pobiera tablicę prostokątów granic reprezentujących zakres znaków w wierszu tekstu.

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)

Parametry

firstTextSourceCharacterIndex
Int32

Indeks pierwszego znaku określonego zakresu.

textLength
Int32

Liczba znaków określonego zakresu.

Zwraca

Lista TextBounds obiektów reprezentujących prostokąt ograniczenia.

Dotyczy