Input for WinForms | ComponentOne
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.
    See Also