Språk

TextLine.GetTextBounds(Int32, Int32) Metod

Definition

Hämtar en matris med avgränsningsrektanglar som representerar teckenområdet inom en textrad.

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)

Parametrar

firstTextSourceCharacterIndex
Int32

Indexet för det första tecknet i det angivna intervallet.

textLength
Int32

Antalet tecken i det angivna intervallet.

Returer

En lista över TextBounds objekt som representerar avgränsningsrektangeln.

Gäller för