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

適用対象