LBitmap::RakeRemoveCallBack (original) (raw)
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
- 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
Topics
Example
For an example, refer to LBitmap::RakeRemove.
LEADTOOLS Raster Imaging C++ Class Library Help