Y Property

Summary
Gets or sets the value that indicates the Y offset of the image.
Syntax
C#
C++/CLI
public int Y { get; set; } 
            public: 
property int Y { 
   int get(); 
   void set (    int ); 
} 

Property Value

Value that indicates the Y offset of the image. In other words, it is the vertical distance between the center of the image and the center of the cell. The default is 0.

Example
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 22.0.2023.2.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.