LBitmap::RakeRemoveCallBack

#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.