backgroundSize Property

Summary

Gets or sets the size of the background image, which will be used until the tiles which represents the full resolution are downloaded.

Syntax

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

Property Value

LeadSizeD that represents the size of the background image, which will be used until the tiles which represents the full resolution are downloaded.

Remarks

This is used with the MRTI. The MRTI is a technique that is used to allow the user to render a very large image without downloading too much data.

If you do not want the MRTI to be used, you can set the background size to match the fill image size, therefore, the whole image will be downloaded and no tiles will be used.

To get the image on a canvas, refer to GetPreviewCanvas.

Requirements

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.Medical Assembly