LBitmap::RakeRemoveCallBack

Summary

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

Syntax

#include "ltwrappr.h"

virtual L_INT LBitmap::RakeRemoveCallBack(hRgn, nLength)

Parameters

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

L_INT nLength

Length in pixels of the rake.

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmap::RakeRemove.

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.