resizeElementForView Property

Summary

Indicates whether to resize the item element instead of scaling it for the view.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewerItem.prototype, 'resizeElementForView', 
	get: function(), 
	set: function(value) 
) 
resizeElementForView: boolean; 

Property Value

true to resize the item element instead of scaling it for the view; otherwise, false. Default value is false.

Remarks

This property is used with Elements Mode only.

When the value is true, then the viewer will resize the front and back image elements instead of scaling it to match the current view set by the current transformation for the item. Otherwise, the viewer will use CSS scaling on the elements.

This is performed only any other element by SVG - including image and canvas elements.

Requirements

Target Platforms

Help Version 22.0.2021.9.24
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.