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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.