Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_GetBitmapClipSegmentsMax
#include "l_bitmap.h"
L_LTDIS_API L_INT L_GetBitmapClipSegmentsMax(pBitmap, puMaxSegments)
pBITMAPHANDLE pBitmap; |
/* pointer to the bitmap handle */ |
L_UINT* puMaxSegments; |
/* pointer to a variable to be updated */ |
Gets the number of elements required to hold the clip segments for any row in the bitmap. Use this function in conjunction with L_GetBitmapClipSegments.
Parameter |
Description |
pBitmap |
Pointer to the bitmap handle referencing the bitmap. |
puMaxSegments |
Pointer to a variable to be updated with the maximum number of segments in a row within the 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
Windows 2000 / XP/Vista.
See Also
Functions: |
|
Topics: |
|
|
Example
For an example, refer to L_GetBitmapClipSegments.