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 object from the center, false to create it from the edge.

Example
C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
 
public void MedicalViewerAnnotationHiliteExample1() 
{ 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
   MedicalViewerMultiCell cell = (MedicalViewerMultiCell)(medicalViewer.Cells[0]); 
 
   MedicalViewerAnnotationHilite hilite = new MedicalViewerAnnotationHilite(); 
   hilite.AnnotationColor = Color.FromArgb(0, 0, 255); 
   hilite.Flags = MedicalViewerAnnotationFlags.AllObjects; 
   hilite.CreateFromCenter = true; 
   cell.SetActionProperties(MedicalViewerActionType.AnnotationHilite, hilite); 
 
   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.