Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBitmapRgn::Free

Show in webframe

#include "ltwrappr.h"

virtual L_INT LBitmapRgn::Free()

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

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTDIS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Raster Image Functions: Creating and Using a Region

 

Raster Image Functions: Region Processing

 

Defining and Using a Bitmap Region

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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.