Aracılığıyla paylaş


TextLine.GetTextBounds(Int32, Int32) Yöntem

Tanım

Bir metin satırı içindeki karakter aralığını temsil eden sınırlayıcı dikdörtgenler dizisini alır.

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)

Parametreler

firstTextSourceCharacterIndex
Int32

Belirtilen aralığın ilk karakterinin dizini.

textLength
Int32

Belirtilen aralığın karakter sayısı.

Döndürülenler

Sınırlayıcı dikdörtgeni temsil eden nesnelerin listesi TextBounds .

Şunlara uygulanır