TextLine.GetTextBounds(Int32, Int32) Metodo

Definizione

Ottiene una matrice di rettangoli di delimitazione che rappresentano l'intervallo dei caratteri in una riga di testo.

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)

Parametri

firstTextSourceCharacterIndex
Int32

Indice del primo carattere dell'intervallo specificato.

textLength
Int32

Numero di caratteri dell'intervallo specificato.

Restituisce

IList<TextBounds>

Elenco di oggetti TextBounds che rappresentano il rettangolo di delimitazione.

Si applica a