NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichControl.CreateGraphics (Int32)

Creates a Graphics Object for this control. This version wraps an existing Windows HDC. The Graphics Object does not claim ownership of the DC; you are responsible for freeing it. The Graphics Object is only valid for the duration of the current window's message.

[Visual Basic]
Overloads Public Function CreateGraphics( _
   ByVal dc As Integer _
) As Graphics
[C#]
public Graphics CreateGraphics(
   int dc
);
[C++]
public: Graphics* CreateGraphics(
   int dc
);
[JScript]
public function CreateGraphics(
   dc : int
) : Graphics;

Parameters

dc
HDC to wrap

See Also

RichControl Class | RichControl Members | System.WinForms Namespace | RichControl.CreateGraphics Overload List