screenDpi Property

Summary

Current screen resolution in dots per inch (or DPI).

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

Property Value

The current screen horizontal resolution in dots per inch (or DPI). A value of 0 means use the default screen resolution which is either calculated automatically if the platform supports that or set to 96 otherwise. The default value is 0.

Remarks

For more information and example, refer to UseDpi.

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.