offsetBy Method

Summary

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

Syntax

JavaScript Syntax
ImageViewerItem.prototype.offsetBy = function(value) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly