Auto-Segmentation
Calling the AutoSegment method will perform the auto-segmentation using the LEADTOOLS MRC engine. LEADTOOLS then segments the bitmap, classifying the segments as text or picture, and determines the stripes. The resulting segments information is sent through the OnAutoSegment event. To specify the maximum height of the stripes, set the StripeMaxHeight property before calling AutoSegment. (The StripeMaxHeight property is only available with the auto-segmentation process.) To enumerate the segments, call EnumSegments. This method provides the segment coordinates and their IDs. To modify a segment type or its coordinates, use the UpdateSegmentData method. This method will update only one segment’s data each time it is called. To delete a segment, call the DeleteSegment method.