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

LBitmap::RakeRemoveCallBack

Show in webframe

#include "ltwrappr.h"

virtual L_INT LBitmap::RakeRemoveCallBack(hRgn, nLength)

L_HRGN hRgn;

/* windows region */

L_INT nLength;

/* rake length */

Handles each rake found by the LBitmap::RakeRemove function.

Parameter

Description

hRgn

Windows region representing a rake to be removed. It is the programmers responsibility to delete this region, using LBitmapRgn::Free when it is no longer needed.

nLength

Length in pixels of the rake.

Returns

SUCCESS_REMOVE

Remove the rake.

SUCCESS_NOREMOVE

Do not remove the rake.

Otherwise

An error occurred. Refer to Return Codes.

Comments

The callback is called for each rake found. Return SUCCESS_REMOVE to have the rake removed. Return SUCCESS_NOREMOVE to leave the rake unchanged. Pass any other value to abort. This value will be the return value of the LBitmap::RakeRemove function.

Required DLLs and Libraries

LTIMGCOR

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:

LBitmap::RakeRemove

Topics:

Raster Image Functions: Cleaning - up 1-Bit Images

 

Cleaning Up 1-Bit Images

Example

For an example, refer to LBitmap::RakeRemove.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.