onSizeChanged Method

Summary

Informs the service that the size of the target or events elements have changed.

Syntax

JavaScript Syntax
InteractiveService.prototype.onSizeChanged = function() 
TypeScript Syntax
onSizeChanged(): void; 

Remarks

In HTML and JavaScript, there is no standard way of knowing when the size of an element is changed. As a result, you must manually call this method if the size of EventsSource or EventsTarget is changed.

The ImageViewer will automatically call OnSizeChanged on its instance of InteractiveService when OnSizeChanged is called.

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