[To be supplied.]
Creates a Graphics for this control. The control's brush, font, foreground color and background color become the default values for the Graphics. The returned Graphics must be disposed through a call to its dispose() method when it is no longer needed. The Graphics Object is only valid for the duration of the current window's message.
[Visual Basic] Overloads Public Function CreateGraphics() As Graphics
[C#] public Graphics CreateGraphics();
[C++] public: Graphics* CreateGraphics();
[JScript] public function CreateGraphics() : Graphics;
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(Integer) As Graphics
[C#] public Graphics CreateGraphics(int);
[C++] public: Graphics* CreateGraphics(int);
[JScript] public function CreateGraphics(int) : Graphics;
RichControl Class | RichControl Members | System.WinForms Namespace