GetOffset Method

Summary

Gets the current coordinates of the image.

Syntax
C#
VB
C++
public Point2D GetOffset() 
  
Public Function GetOffset() As Point2D 
            public: 
Point2D GetOffset();  

Return Value

Point2D object which represents the current coordinates of the image.

Remarks
  • The points are relative to the center of the cell and the center of the image. This means that it will return {0, 0} if the image position is centered on the screen.
  • If the cell has multiple frames, the retrieved offset value will be the offset value of the selected sub-cell.
  • To change the offset using the mouse button, use the AddAction method to add the action to the Medical Viewer Cell. Then use the SetAction method to associate the offset action with a mouse button.

Example

For an example, refer to MedicalViewerMultiCell.SetOffset

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly