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.

C#
public abstract System.Collections.Generic.IList<System.Windows.Media.TextFormatting.TextBounds> GetTextBounds(int firstTextSourceCharacterIndex, int textLength);

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 à

Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10