CharacterHit Structure
Represents information about a character hit within a glyph run.
Assembly: PresentationCore (in PresentationCore.dll)
| Name | Description | |
|---|---|---|
![]() | CharacterHit(Int32, Int32) | Initializes a new instance of the CharacterHit structure. |
| Name | Description | |
|---|---|---|
![]() | FirstCharacterIndex | Gets the index of the first character that got hit. |
![]() | TrailingLength | Gets the trailing length value for the character that got hit. |
| Name | Description | |
|---|---|---|
![]() | Equals(CharacterHit) | Determines whether the CharacterBufferReference is equal to the current CharacterBufferReference object. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current CharacterBufferReference object.(Overrides ValueType::Equals(Object^).) |
![]() | GetHashCode() | Serves as a hash function for CharacterBufferReference. It is suitable for use in hashing algorithms and data structures such as a hash table.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() | ToString() | Returns the fully qualified type name of this instance.(Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(CharacterHit, CharacterHit) | Compare two CharacterBufferReference strings for equality. |
![]() ![]() | Inequality(CharacterHit, CharacterHit) | Compare two CharacterBufferReference strings for inequality. |
The CharacterHit structure provides information about the index of the first character that got hit as well as information about leading or trailing edge.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



