Breyta

Deila með


Region.GetHrgn(Graphics) Method

Definition

Returns a Windows handle to this Region in the specified graphics context.

public:
 IntPtr GetHrgn(System::Drawing::Graphics ^ g);
public IntPtr GetHrgn (System.Drawing.Graphics g);
member this.GetHrgn : System.Drawing.Graphics -> nativeint
Public Function GetHrgn (g As Graphics) As IntPtr

Parameters

g
Graphics

The Graphics on which this Region is drawn.

Returns

IntPtr

nativeint

A Windows handle to this Region.

Exceptions

Remarks

You are responsible for calling the ReleaseHrgn method to free the memory used by the GDI region object.

Applies to