ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 System.Integer _
    ) As System.IntPtr
    public System.IntPtr GetDrawingEffect( 
       System.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