←Select platform

ConvertAnnotationToRegion(Int32,RasterRegionCombineMode,Boolean) Method

Summary

Converts the selected annotation into a region of interest.

Syntax

C#
VB
C++
public void ConvertAnnotationToRegion(  
   int subCellIndex, 
   Leadtools.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

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