←Select platform

Dispose(bool) Method

Summary
Releases all resources used by this PDFDocument.
Syntax
C#
VB
C++
[HandleProcessCorruptedStateExceptionsAttribute()] 
protected virtual void Dispose( 
   bool disposing 
) 
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.

Remarks

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

Example

For an example, refer to PDFDocument.

Requirements

Target Platforms

Help Version 21.0.2021.7.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.