Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Control::LogicalToDeviceUnits Method (Int32)

 

Converts a Logical DPI value to it's equivalent DeviceUnit DPI value.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
int LogicalToDeviceUnits(
	int value
)

Parameters

value
Type: System::Int32

The Logical value to convert.

Return Value

Type: System::Int32

The resulting DeviceUnit value.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft