LEADTOOLS MRC (Leadtools.Mrc assembly)
LEAD Technologies, Inc

MrcEnumerateSegmentsInfo Delegate






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
)
MrcEnumerateSegmentsInfo( 
   segmentHandle ,
   data ,
   id 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MrcEnumerateSegmentsInfo Members
Leadtools.Mrc Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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