ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / GetDrawingEffect Method / GetDrawingEffect(Int32) Method
The position of the text whose drawing effect is to be retrieved.

In This Topic
    GetDrawingEffect(Int32) Method
    In This Topic
    Gets the application-defined drawing effect at the specified text position.
    Syntax
    'Declaration
     
    Public Overloads Function GetDrawingEffect( _
       ByVal currentPosition As Integer _
    ) As IntPtr
    public IntPtr GetDrawingEffect( 
       int currentPosition
    )

    Parameters

    currentPosition
    The position of the text whose drawing effect is to be retrieved.

    Return Value

    a reference to the current application-defined drawing effect. Usually this effect is a foreground brush that is used in glyph drawing.
    See Also