MedicalViewerAnnotationEllipse Constructor(bool)

Summary
Initializes a new instance of the MedicalViewerAnnotationEllipse class, specifying how the ellipse is to be drawn.
Syntax
C#
C++/CLI
            public: 
MedicalViewerAnnotationEllipse(  
   bool createFromCenter 
) 

Parameters

createFromCenter
true to create the ellipse from center, false to create from edge.

Example

Set the properties for the ellipse annotation action

C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
 
public void MedicalViewerAnnotationEllipseExample2() 
{ 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
   MedicalViewerMultiCell cell = (MedicalViewerMultiCell)(medicalViewer.Cells[0]); 
 
   MedicalViewerAnnotationEllipse ellipse = new MedicalViewerAnnotationEllipse(true); 
   ellipse.AnnotationColor = Color.FromArgb(0, 128, 0); 
   ellipse.Flags = MedicalViewerAnnotationFlags.AllObjects; 
   cell.SetActionProperties(MedicalViewerActionType.AnnotationEllipse, ellipse); 
 
   myForm.ShowDialog(); 
} 
Requirements

Target Platforms

Help Version 22.0.2023.2.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.