TextLine.GetCharacterHitFromDistance(Double) メソッド

定義

行の先頭から指定した距離に対応する文字ヒットを取得します。

public:
 abstract System::Windows::Media::TextFormatting::CharacterHit GetCharacterHitFromDistance(double distance);
public abstract System.Windows.Media.TextFormatting.CharacterHit GetCharacterHitFromDistance(double distance);
abstract member GetCharacterHitFromDistance : double -> System.Windows.Media.TextFormatting.CharacterHit
Public MustOverride Function GetCharacterHitFromDistance (distance As Double) As CharacterHit

パラメーター

distance
Double

線の始点からの距離を表す Double 値。

返品

行の先頭から指定したCharacterHitにあるdistance オブジェクト。

注釈

テキスト フローの方向によって、距離の測定方法が決まります。

適用対象