ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / HitTestTextPosition Method

In This Topic
    HitTestTextPosition Method
    In This Topic
    HRESULT IDWriteTextLayout::HitTestTextPosition([In] unsigned int textPosition,[In] BOOL isTrailingHit,[Out] float* pointX,[Out] float* pointY,[Out] DWRITE_HIT_TEST_METRICS* hitTestMetrics)
    Syntax
    'Declaration
     
    Public Function HitTestTextPosition( _
       ByVal textPosition As System.Integer, _
       ByVal isTrailingHit As Bool, _
       ByRef pointXRef As System.Single, _
       ByRef pointYRef As System.Single _
    ) As HitTestMetrics
    public HitTestMetrics HitTestTextPosition( 
       System.int textPosition,
       Bool isTrailingHit,
       out System.float pointXRef,
       out System.float pointYRef
    )

    Parameters

    textPosition
    isTrailingHit
    pointXRef
    pointYRef
    See Also