CharacterHit Struct
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.
Represents information about a character hit within a glyph run.
public value class CharacterHit : IEquatable<System::Windows::Media::TextFormatting::CharacterHit>
public struct CharacterHit : IEquatable<System.Windows.Media.TextFormatting.CharacterHit>
type CharacterHit = struct
Public Structure CharacterHit
Implements IEquatable(Of CharacterHit)
- Inheritance
- Implements
The CharacterHit structure provides information about the index of the first character that got hit as well as information about leading or trailing edge.
Character |
Initializes a new instance of the CharacterHit structure. |
First |
Gets the index of the first character that got hit. |
Trailing |
Gets the trailing length value for the character that got hit. |
Equals(Character |
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. |
Get |
Serves as a hash function for CharacterBufferReference. It is suitable for use in hashing algorithms and data structures such as a hash table. |
Equality(Character |
Compare two CharacterBufferReference strings for equality. |
Inequality(Character |
Compare two CharacterBufferReference strings for inequality. |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: