←Select platform

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(  
   Leadtools.Mrc.MrcSegmenter segmentHandle, 
   Leadtools.Mrc.MrcSegmentData data, 
   int id 
) 
Public Delegate Function MrcEnumerateSegmentsInfo( _ 
   ByVal segmentHandle As Leadtools.Mrc.MrcSegmenter, _ 
   ByVal data As Leadtools.Mrc.MrcSegmentData, _ 
   ByVal id As Integer _ 
) As Boolean 
public delegate bool MrcEnumerateSegmentsInfo(  
   Leadtools.Mrc.MrcSegmenter^ segmentHandle, 
   Leadtools.Mrc.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Mrc Assembly
Click or drag to resize