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

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