MrcEnumerateSegmentsInfo Delegate

Summary
Handles each enumerated segment. This delegate is passed as a parameter to the EnumerateSegments method.
Syntax
C#
VB
C++
public delegate bool MrcEnumerateSegmentsInfo( 
   MrcSegmenter segmentHandle, 
   MrcSegmentData data, 
   int id 
) 
  
Public Delegate Function MrcEnumerateSegmentsInfo( _ 
   ByVal segmentHandle As MrcSegmenter, _ 
   ByVal data As MrcSegmentData, _ 
   ByVal id As Integer _ 
) As Boolean 
public delegate bool MrcEnumerateSegmentsInfo(  
   MrcSegmenter^ segmentHandle, 
   MrcSegmentData data, 
   int id 
) 

Parameters

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.

Remarks

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.

Example

Refer to MrcSegmenter example.

Requirements

Target Platforms

See Also

Reference

MrcEnumerateSegmentsInfo Members

Leadtools.Mrc Namespace

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

Leadtools.Mrc Assembly