MedicalViewerAnnotationHilite Constructor(bool)

Summary
Initializes a new instance of the MedicalViewerAnnotationHilite class, specifying how to create it.
Syntax
C#
C++/CLI
            public: 
MedicalViewerAnnotationHilite(  
   bool createFromCenter 
) 

Parameters

createFromCenter
true to create the hilite from the center; false to create it from the edge.

Example

Set the properties for the hilite annotation action

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