ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 Integer, _
       ByVal isTrailingHit As Bool, _
       ByRef pointXRef As Single, _
       ByRef pointYRef As Single _
    ) As HitTestMetrics
    public HitTestMetrics HitTestTextPosition( 
       int textPosition,
       Bool isTrailingHit,
       out float pointXRef,
       out float pointYRef
    )

    Parameters

    textPosition
    isTrailingHit
    pointXRef
    pointYRef
    See Also