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 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.