CharacterHit Structure

CharacterHit Structure

 

Represents information about a character hit within a glyph run.

Namespace:   System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

public struct CharacterHit : IEquatable<CharacterHit>

NameDescription
System_CAPS_pubmethodCharacterHit(Int32, Int32)

Initializes a new instance of the CharacterHit structure.

NameDescription
System_CAPS_pubpropertyFirstCharacterIndex

Gets the index of the first character that got hit.

System_CAPS_pubpropertyTrailingLength

Gets the trailing length value for the character that got hit.

NameDescription
System_CAPS_pubmethodEquals(CharacterHit)

Determines whether the CharacterBufferReference is equal to the current CharacterBufferReference object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current CharacterBufferReference object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

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().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

The CharacterHit structure provides information about the index of the first character that got hit as well as information about leading or trailing edge.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft