MedicalViewerOffset Constructor(int,int)

Summary
Initializes a new instance of the MedicalViewerOffset class with specified x and y offsets.
Syntax
C#
C++/CLI
public MedicalViewerOffset( 
   int x, 
   int y 
) 
            public: 
MedicalViewerOffset(  
   int x, 
   int y 
) 

Parameters

x
the x offset of the image.

y
the y offset of the image.

Example

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

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