Input for WinForms | ComponentOne
C1.Win.Drawing Namespace / StringRendererBase Class / PrepareHdc Method
The device context.

In This Topic
    PrepareHdc Method
    In This Topic
    Gets the handle to the device context associated with System.Drawing.Graphics.
    Syntax
    'Declaration
     
    
    Protected Shared Function PrepareHdc( _
       ByVal graphics As Graphics _
    ) As IntPtr
    protected static IntPtr PrepareHdc( 
       Graphics graphics
    )

    Parameters

    graphics
    The device context.

    Return Value

    Handle to the device context associated with System.Drawing.Graphics.
    See Also