LEADTOOLS MRC (Leadtools.Mrc assembly)

MrcEnumerateSegmentsInfo Delegate

Show in webframe





An Instance of MrcSegmenter class.
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 of the segment being enumerated.
Handles each enumerated segment. This delegate is passed as a parameter to the EnumerateSegments method.
Syntax
public delegate bool MrcEnumerateSegmentsInfo( 
   IntPtr segmentHandle,
   MrcSegmentData data,
   int id
)
'Declaration
 
Public Delegate Function MrcEnumerateSegmentsInfo( _
   ByVal segmentHandle As IntPtr, _
   ByVal data As MrcSegmentData, _
   ByVal id As Integer _
) As Boolean
'Usage
 
Dim instance As New MrcEnumerateSegmentsInfo(AddressOf HandlerMethod)

            

            
public delegate bool MrcEnumerateSegmentsInfo( 
   IntPtr 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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Mrc requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features