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
TypeScript
JavaScript
Object.defineProperty(Frame.prototype, 'backgroundSize', 
	get: function(), 
	set: function(value) 
) 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.