Paint.CanvasPlayback.Dispose C# (CSharp) Method

Dispose() public method

Releases all resource used by the Paint.CanvasPlayback object. Implement IDisposable. Do not make this method virtual. A derived class should not be able to override this method.
Call Dispose when you are finished using the Paint.CanvasPlayback. The Dispose method leaves the Paint.CanvasPlayback in an unusable state. After calling Dispose, you must release all references to the Paint.CanvasPlayback so the garbage collector can reclaim the memory that the Paint.CanvasPlayback was occupying.
public Dispose ( ) : void
return void
        public void Dispose()
        {
            this.Dispose(true);
            // This object will be cleaned up by the Dispose method.
            // Therefore, you should call GC.SupressFinalize to
            // take this object off the finalization queue
            // and prevent finalization code for this object
            // from executing a second time.
            GC.SuppressFinalize(this);
        }

Same methods

CanvasPlayback::Dispose ( bool disposing ) : void