DpiHelper.LogicalToDeviceUnits Method (Rectangle)

 

Converts the specified coordinates from logical units to device units.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public static Rectangle LogicalToDeviceUnits(
	this Rectangle logicalRect
)

Parameters

logicalRect
Type: System.Drawing.Rectangle

The rectangle.

Return Value

Type: System.Drawing.Rectangle

The device units.

Return to top
Show: