weight Property

Summary

Gets or sets the weight of the overlay text, which represents the importance of the text.

Syntax
TypeScript
JavaScript
Object.defineProperty(OverlayText.prototype, 'weight', 
	get: function(), 
	set: function(value) 
) 
weight: number; 

Property Value

Value that indicates the weight of the overlay text

Remarks

The default weight is 0.

The higher the weight, the more important this overlay text is.

If two overlay text strings are overlapped, then the one with more weight will stay visible and the one with lesser weight will be hidden.

Requirements

Target Platforms

Help Version 23.0.2024.5.7
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.