offsetBy Method

Summary

Translate the image of the item horizontally and vertically by a certain amount.

Syntax
TypeScript
JavaScript
ImageViewerItem.prototype.offsetBy = function( 
   value 
) 
offsetBy( 
   value: LeadPointD 
): void; 

Parameters

value

Amount to translate the image horizontally and vertically.

Remarks

This method will add value to the Offset with the new value is stored in the property

This is a display method and will not change the image data.

This is a state value. For more information, for more information, refer Image Viewer Transformation.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.