LBitmapRgn::Free

Summary

Removes the region from the associated class object's bitmap and frees any resources associated with that region.

Syntax

#include "ltwrappr.h"

virtual L_INT LBitmapRgn::Free()

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

L_INT LBitmapRgn__FreeExample() 
{ 
   L_INT nRet  = SUCCESS; 
   LBitmapBase  MyBitmap(200,300,ORDER_BGR); 
   LBitmapRgn Region(&MyBitmap); 
 
   if(Region.BitmapHasRgn()) 
      nRet = Region.Free(); 
 
   //… 
 
   return nRet; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.