DpiHelper::LogicalToDeviceUnits Method (Bitmap^, Size, ImageScalingMode)

 

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 void LogicalToDeviceUnits(
	Bitmap^% imageStrip,
	Size logicalImageSize,
	ImageScalingMode scalingMode = ImageScalingMode::Default
)

Parameters

imageStrip
Type: System.Drawing::Bitmap^

The image strip.

logicalImageSize
Type: System.Drawing::Size

The logical image size.

scalingMode
Type: Microsoft.VisualStudio.PlatformUI::ImageScalingMode

The scaling mode.

Return to top
Show: