MedicalViewerOffset Constructor()

Summary
Initializes a new instance of the MedicalViewerOffset class.
Syntax
C#
C++/CLI
            public: 
MedicalViewerOffset(); 
Example

This examples changes the offset of the image of the first cell

C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
 
public void MedicalViewerOffset2() 
{ 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
   MedicalViewerOffset offset = new MedicalViewerOffset(); 
   MedicalViewerMultiCell cell = (MedicalViewerMultiCell)(medicalViewer.Cells[0]); 
   offset.X = 50; 
   offset.Y = 50; 
   cell.SetActionProperties(MedicalViewerActionType.Offset, offset, 0); 
   offset.Dispose(); 
   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.