C#
VB
C++
Represents the class that contains the properties of the annotation ruler action.
public class MedicalViewerAnnotationRuler : MedicalViewerAnnotation Public Class MedicalViewerAnnotationRulerInherits Leadtools.Medicalviewer.MedicalViewerAnnotation
public ref class MedicalViewerAnnotationRuler : public Leadtools.Medicalviewer.MedicalViewerAnnotation
Change the properties for the ruler annotation action
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();}
Imports LeadtoolsImports Leadtools.CodecsImports Leadtools.MedicalViewerPublic Sub MedicalViewerAnnotationRulerExample()Dim myForm As MedicalViewerForm = GetMedicalControl()Dim medicalViewer As MedicalViewer = myForm.ViewerDim cell As MedicalViewerMultiCell = CType(medicalViewer.Cells(0), MedicalViewerMultiCell)Dim ruler As MedicalViewerAnnotationRuler = New MedicalViewerAnnotationRuler()ruler.AnnotationColor = Color.FromArgb(0, 0, 255)ruler.Flags = MedicalViewerAnnotationFlags.AllObjectsruler.SimpleRuler = Truecell.SetActionProperties(MedicalViewerActionType.AnnotationRuler, ruler)myForm.ShowDialog()End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
