CharacterHit(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CharacterHit structure.
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)
Parameters
- firstCharacterIndex
- Int32
Index of the first character that got hit.
- trailingLength
- Int32
In the case of a leading edge, this value is 0. In the case of a trailing edge, this value is the number of code points until the next valid caret position.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.