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

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