LSegment::MrcEnumSegments

#include "ltwrappr.h"

L_INT LSegment::MrcEnumSegments(dwFlags)

Enumerates the segments.

Parameters

L_UINT32 dwFlags

Reserved for future use. Pass 0.

Returns

Value Meaning
>= 1 The number of segments enumerated.
< 1 An error occurred. Refer to Return Codes.

Comments

This function calls the LSegment::MrcEnumSegmentsCallBack function for each segment found in the auto segmentation process. To get information about each segment, derive a new class from LSegment and override the LSegment::MrcEnumSegmentsCallBack function. This is explained in the description of the callback function itself.

This function can be used to enumerate segments. These segments can be generated manually or automatically.

If there is no callback function implemented OR the callback function succeeded, then the number of enumerated segments will be returned by this function.

Call the LSegment::MrcStartBitmapSegmentation function before using any of the segmentation functions. When the LSegment class object is no longer needed, free it by calling the LSegment::MrcStopBitmapSegmentation function.

Required DLLs and Libraries

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS MRC C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.