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 オブジェクトのリスト。

適用対象