LEADTOOLS Medical (Leadtools.MedicalViewer assembly)
LEAD Technologies, Inc

ConvertAnnotationToRegion(Int32,RasterRegionCombineMode,Boolean) Method






The zero-based index of the sub-cell that contains the selected annotation object being converted. Pass -1 to convert all sub-cells contained within the cell; pass -2 to convert only the active sub-cell.
An enumerated Leadtools.RasterRegionCombineMode value that indicates how to create a region, if one is defined.
true to delete the annotation after creating the region; otherwise, false.
Converts the selected annotation into a region of interest.
Syntax
public void ConvertAnnotationToRegion( 
   int subCellIndex,
   RasterRegionCombineMode combineMode,
   bool deleteAnnotation
)
'Declaration
 
Public Overloads Sub ConvertAnnotationToRegion( _
   ByVal subCellIndex As Integer, _
   ByVal combineMode As RasterRegionCombineMode, _
   ByVal deleteAnnotation As Boolean _
) 
'Usage
 
Dim instance As MedicalViewerMultiCell
Dim subCellIndex As Integer
Dim combineMode As RasterRegionCombineMode
Dim deleteAnnotation As Boolean
 
instance.ConvertAnnotationToRegion(subCellIndex, combineMode, deleteAnnotation)
public void ConvertAnnotationToRegion( 
   int subCellIndex,
   RasterRegionCombineMode combineMode,
   bool deleteAnnotation
)
 function Leadtools.MedicalViewer.MedicalViewerMultiCell.ConvertAnnotationToRegion(Int32,RasterRegionCombineMode,Boolean)( 
   subCellIndex ,
   combineMode ,
   deleteAnnotation 
)
public:
void ConvertAnnotationToRegion( 
   int subCellIndex,
   RasterRegionCombineMode combineMode,
   bool deleteAnnotation
) 

Parameters

subCellIndex
The zero-based index of the sub-cell that contains the selected annotation object being converted. Pass -1 to convert all sub-cells contained within the cell; pass -2 to convert only the active sub-cell.
combineMode
An enumerated Leadtools.RasterRegionCombineMode value that indicates how to create a region, if one is defined.
deleteAnnotation
true to delete the annotation after creating the region; otherwise, false.
Remarks
Example
For an example, refer to ConvertAnnotationToRegion(Int32,RasterRegionCombineMode,Boolean)
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

MedicalViewerMultiCell Class
MedicalViewerMultiCell Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features