updateStyles Method


Inform the viewer that the CSS classes used has been changed.


JavaScript Syntax
ImageViewer.prototype.updateStyles = function() 
TypeScript Syntax
updateStyles(): void; 


UpdateStyles must be called by the user if the values of any of the CSS class name used with the viewer is changed. This is only required if the viewer is using Elements Mode (the value of UseElements is true and otherwise is ignored. The viewer will re-read the values of the CSS classes used and update the properties.

Refer to Image Viewer Elements Mode for more information.


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