TextLine.GetTextBounds(Int32, Int32) 方法

定義

取得週框陣列,這些週框表示文字行內的字元範圍。

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)

參數

firstTextSourceCharacterIndex
Int32

指定範圍之第一個字元的索引。

textLength
Int32

指定範圍的字元數。

傳回

表示週框的 TextBounds 物件清單。

適用於