Share via


TextLine.GetTextBounds(Int32, Int32) Méthode

Définition

Obtient un tableau de rectangles englobants qui représente la plage de caractères dans une ligne de texte.

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)

Paramètres

firstTextSourceCharacterIndex
Int32

Index du premier caractère de la plage spécifiée.

textLength
Int32

Nombre de caractères de la plage spécifiée.

Retours

Liste d'objets TextBounds représentant le rectangle englobant.

S’applique à