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 ()

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;

Return Value

the Graphics for this control.

See Also

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