Document Library for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document.Util Namespace / C1TextLayout.HitTestInfo Structure
Fields Properties


In This Topic
    C1TextLayout.HitTestInfo Structure Members
    In This Topic

    The following tables list the members exposed by C1TextLayout.HitTestInfo.

    Public Fields
     NameDescription
    Public FieldThe default hit-test location flag inside the text string.  
    Public FieldThe default hit-test location flag at the leading or the trailing side of the character.  
    Public FieldThe coordinates of the caret afterTextPosition.  
    Public FieldThe coordinates of the caret beforeTextPosition.  
    Public FieldThe number of text positions within the hit region.  
    Public FieldThe text position.  
    Top
    Public Properties
     NameDescription
    Public PropertyGet the caret coords, depending on IsTrailingHit this property returns CaretCoordsAfter or CaretCoordsBefore.  
    Public PropertyIndicates whether the hit-test location is inside the text string. When FALSE, the position nearest the text's edge is returned.  
    Public PropertyIndicates whether the hit-test location is at the leading or the trailing side of the character. When the IsInside value is set to FALSE, this value is set according to the TextPosition value to represent the edge closest to the hit-test location.  
    Top
    See Also