| 
   Available in LEADTOOLS Medical Imaging toolkits.  | 
LImageViewer::Destroy
#include "ltwrappr.h"
L_INT LImageViewer::Destroy (bCleanImages, uFlags);
| 
 L_BOOL bCleanImages;  | 
 /* flag */  | 
| 
 L_UINT uFlags;  | 
 /* reserved for future use */  | 
Destroys the container and its cells.
| 
 Parameter  | 
 Description  | 
|
| 
 bCleanImages  | 
 Flag that indicates whether to free the image(s) attached to each cell of the container. Possible values are:  | 
|
| 
 
  | 
 Value  | 
 Meaning  | 
| 
 
  | 
 TRUE  | 
 Free the image(s) attached to each cell.  | 
| 
 
  | 
 FALSE  | 
 Do not free the image(s) attached to each cell.  | 
| 
 uFlags  | 
 Reserved for future use. Pass 0.  | 
|
Returns
| 
 SUCCESS  | 
 The function was successful.  | 
| 
 < 1  | 
 An error occurred. To get extended error information, call GetLastError, and refer to Return Codes.  | 
Comments
When the container created by the LImageViewer::Create function is no longer needed, call this function to destroy the container and free the associated memory. For every call to LImageViewer::Create there must be a call to LImageViewer::Destroy.
Required DLLs and Libraries
| 
 LTIVW For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.  | 
See Also
Example
For an example, refer to LImageViewer::Create.