←Select platform

ScreenDpi Property

Summary

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

Syntax
C#
C++/CLI
public virtual LeadSize ScreenDpi { get; set; } 
public:  
   virtual property LeadSize^ ScreenDpi 
   { 
      LeadSize^ get() 
      void set(LeadSize^ value) 
   } 

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, refer to UseDpi.

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 Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.