imageSize Property

Summary

Size of the image in the viewer (single item mode).

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewer.prototype, 'imageSize', 
	get: function(), 
	set: function(value) 
) 
imageSize: LeadSizeD; 

Property Value

The size of the image in the viewer in pixels (single item mode). Default value is LeadSize.Empty.

Remarks

This is a helper property for applications that use ImageViewer in single item mode. It is a shortcut to ImageSize of ActiveItem. For more information, refer to Image Viewer in Single Item Mode.

Example

For an example, refer to ImageSize

Requirements
Target Platforms
Help Version 21.0.2021.7.2
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.