CreateFromCenter Property

Summary
Indicates whether to create the object from the center or from the edge.
Syntax
C#
C++/CLI
public bool CreateFromCenter { get; set; } 
            public: 
property bool CreateFromCenter { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to create the ellipse from the center; false to create from the edge.

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

Target Platforms

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

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