resizeElementForView Property (ImageViewer)

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.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 is a helper property for applications that use ImageViewer in single item mode. It is a shortcut to ResizeElementForView of ActiveItem.

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