LEADTOOLS Virtual Printer (Leadtools.Printer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Dispose(Boolean) Method
See Also 
Leadtools.Printer Namespace > Printer Class > Dispose Method : Dispose(Boolean) Method



disposing
True to release both managed and unmanaged resources; False to release only unmanaged resources.
disposing
True to release both managed and unmanaged resources; False to release only unmanaged resources.
Releases all the resources used by this Printer.

Syntax

Visual Basic (Declaration) 
Overloads Protected Overridable Sub Dispose( _
   ByVal disposing As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As Printer
Dim disposing As Boolean
 
instance.Dispose(disposing)
C# 
protected virtual void Dispose( 
   bool disposing
)
C++/CLI 
protected:
virtual void Dispose( 
   bool disposing
) 

Parameters

disposing
True to release both managed and unmanaged resources; False to release only unmanaged resources.

Example

For an example, refer to Printer.

Remarks

The Printer class implements the System.IDisposable interface, it is recommended that you follow the standard .NET dispose pattern when using the Printer class. For more information, refer to the System.IDisposable interface documentation in MSDN.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Printer requires a Printer module license and unlock key. It is included as part of LEADTOOLS Document Imaging Enterprise. For more information, refer to: Imaging Pro/Document/Medical Features