Input for WinForms | ComponentOne
C1.Win.Drawing Namespace / StringRendererBase Class / ReleaseHdc Method
The device context.
Handle to the device context associated with System.Drawing.Graphics

In This Topic
    ReleaseHdc Method
    In This Topic
    Releases a device context handle obtained by a previous call to the PrepareHdc method of System.Drawing.Graphics.
    Syntax
    'Declaration
     
    
    Protected Shared Sub ReleaseHdc( _
       ByVal graphics As Graphics, _
       ByVal hdc As IntPtr _
    ) 
    protected static void ReleaseHdc( 
       Graphics graphics,
       IntPtr hdc
    )

    Parameters

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