MedicalViewerAnnotationRuler Class

Summary
Represents the class that contains the properties of the annotation ruler action.
Syntax
C#
C++/CLI
public class MedicalViewerAnnotationRuler : MedicalViewerAnnotation 
            public ref class MedicalViewerAnnotationRuler : public MedicalViewerAnnotation  
Remarks
Example

Change the properties for the ruler annotation action

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