←Select platform

ConvertAnnotationToRegion Method

Summary

Converts the selected annotation into a region of interest.

Syntax

C#
VB
C++
public void ConvertAnnotationToRegion( 
   int subCellIndex, 
   RasterRegionCombineMode combineMode, 
   bool deleteAnnotation 
) 
  
Public Overloads Sub ConvertAnnotationToRegion( _ 
   ByVal subCellIndex As Integer, _ 
   ByVal combineMode As Leadtools.RasterRegionCombineMode, _ 
   ByVal deleteAnnotation As Boolean _ 
)  
             
            public: 
void ConvertAnnotationToRegion(  
   int subCellIndex, 
   Leadtools.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
  • This method will work only on the closed shape annotation objects, namely:
    • rectangle annotation.
    • ellipse annotation.
    • hilite annotation.
  • For more information, refer to Working With Annotations.
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly