HeaderPane
Main
Hide
Share Link
Print

DPI Property, SftCalendar Object

Returns the effective DPI for the control's current monitor.

Syntax

C#int DPI = object.DPI;
VB.NETDPI = object.DPI As Integer
C++long DPI = object->DPI;
long DPI = object->GetDPI();
CHRESULT object->get_DPI(long* DPI);

object

A SftCalendar object.

DPI

Returns the effective DPI for the control's current monitor.

Comments

The DPI property returns the DPI the control uses to size and draw its parts. A value of 96 corresponds to 100% scaling. p In a per-monitor DPI aware application (PerMonitorV2), the control follows the DPI of its monitor and raises the DPIChanged event when it changes. In an application that is not DPI aware, the DPI is 96. The dropdown of a date field control uses the DPI of the monitor it opens on.

See Also SftCalendar Object | Object Hierarchy | Per-Monitor DPI and Scaling


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.