resizeElementForView Property (ImageViewerItem)

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewerItem.prototype, 'resizeElementForView', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize