Property CurrentPPI (R)
Description
Returns the actual value of the pixels-per-Inch (PPI) of the control.
Details
If the Windows scaling for the screen is set to 100%, the default value for the CurrentPPI property is 96. The CurrentPPI returns a higher value if the scaling is higher than 100%. Use the CurrentPPI property with the ScaleBy method to scale controls by code.