PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / Dispose Method / Dispose(Boolean) Method
true to release both managed and unmanaged resources; false to release only unmanaged resources.

In This Topic
    Dispose(Boolean) Method
    In This Topic
    Releases the resoureces used by C1.C1Preview.C1PrintDocument.
    Syntax
    'Declaration
     
    Protected Overloads Overridable Sub Dispose( _
       ByVal disposing As Boolean _
    ) 
    protected virtual void Dispose( 
       bool disposing
    )

    Parameters

    disposing
    true to release both managed and unmanaged resources; false to release only unmanaged resources.
    See Also