The Dispose(Boolean) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- disposing
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
Visual Basic (Declaration) | |
---|---|
Overloads Protected Overridable Sub Dispose( _ ByVal disposing As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AutoFormsEngine Dim disposing As Boolean instance.Dispose(disposing) |
Parameters
- disposing
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
For an example, refer to AutoFormsEngine.AutoFormsEngine(IMasterFormsRepository repository, IOcrEngine ocrEngine, BarcodeEngine barcodeEngine).
AutoFormsEngine should be disposed before disposing or shutting down the used Leadtools.Forms.Ocr.IOcrEngine.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7