DpiHelper::CreateDeviceFromLogicalImage Method (ImageList^, ImageScalingMode)
Visual Studio 2015
Creates and returns a new ImageList scaled for the device units. When displayed on the device, the scaled ImageList will have same size as the original ImageList would have when displayed at 96dpi.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
public:
ImageList^ CreateDeviceFromLogicalImage(
ImageList^ logicalImageList,
ImageScalingMode scalingMode = ImageScalingMode::Default
)
Parameters
- logicalImageList
-
Type:
System.Windows.Forms::ImageList^
The ImageList to scale from logical units to device units
- scalingMode
-
Type:
Microsoft.VisualStudio.PlatformUI::ImageScalingMode
The scaling mode to use when scaling the images in the strip.
Show: