onSizeChanged Method

Summary

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

Syntax
TypeScript
JavaScript
InteractiveService.prototype.onSizeChanged = function() 
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 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.