ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / Dispose Method

In This Topic
    Dispose Method (Graphics)
    In This Topic
    Releases all resources used by this Graphics object.
    Syntax
    'Declaration
     
    
    Public Sub Dispose() 
    public void Dispose()

    Return Value

    This method does not return a value.
    Remarks
    Calling Dispose allows the resources used by the Graphics object to be reallocated for other purposes.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also