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;
RichControl Class | RichControl Members | System.WinForms Namespace | RichControl.CreateGraphics Overload List