Graphics.FromHdcInternal(IntPtr) Method

Definition

Returns a Graphics for the specified device context.

public:
 static System::Drawing::Graphics ^ FromHdcInternal(IntPtr hdc);
public static System.Drawing.Graphics FromHdcInternal (IntPtr hdc);
static member FromHdcInternal : nativeint -> System.Drawing.Graphics
Public Shared Function FromHdcInternal (hdc As IntPtr) As Graphics

Parameters

hdc
IntPtr

nativeint

Handle to a device context.

Returns

A Graphics for the specified device context.

Remarks

This method should not be used.

Applies to