CharacterHit(Int32, Int32) Konstruktor

Definice

Inicializuje novou instanci CharacterHit struktury.

public:
 CharacterHit(int firstCharacterIndex, int trailingLength);
public CharacterHit (int firstCharacterIndex, int trailingLength);
new System.Windows.Media.TextFormatting.CharacterHit : int * int -> System.Windows.Media.TextFormatting.CharacterHit
Public Sub New (firstCharacterIndex As Integer, trailingLength As Integer)

Parametry

firstCharacterIndex
Int32

Index prvního znaku, který byl nalezen.

trailingLength
Int32

V případě úvodní hrany je tato hodnota 0. V případě koncového okraje je tato hodnota počet bodů kódu do další platné pozice kurzoru.

Platí pro