Handles each enumerated segment. This delegate is passed as a parameter to the EnumerateSegments method.
segmentHandle
An Instance of MrcSegmenter class.
data
An Instance of MrcSegmentData that you can use to access a variable or structure containing data that your delegate method needs. This gives you a way to receive data indirectly from the method that uses this delegate method.
id
ID of the segment being enumerated.
This delegate method is called for each segment enumerated by the EnumerateSegments method. The delegate receives segment data, segment ID and any other associated user data for each segment. This delegate can be used when performing automatic or manual segmentation.