DpiHelper::CreateDeviceFromLogicalImage Method

 

Creates and returns a new bitmap or metafile scaled for the device units. When displayed on the device, the scaled image will have same size as the original image would have when displayed at 96dpi.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateDeviceFromLogicalImage(Bitmap^, Size, Color, ImageScalingMode)

Creates and returns a new bitmap or metafile scaled for the device units. When displayed on the device, the scaled image will have same size as the original image would have when displayed at 96dpi.

System_CAPS_pubmethodSystem_CAPS_staticCreateDeviceFromLogicalImage(Bitmap^, Size, ImageScalingMode)

Creates and returns a new bitmap or metafile scaled for the device units. When displayed on the device, the scaled image will have same size as the original image would have when displayed at 96dpi.

System_CAPS_pubmethodSystem_CAPS_staticCreateDeviceFromLogicalImage(Icon^, ImageScalingMode)

Extension method for System.Drawing.Image that creates and returns a new bitmap or metafile scaled for the device units. When displayed on the device, the scaled image will have same size as the original image would have when displayed at 96dpi.

System_CAPS_pubmethodSystem_CAPS_staticCreateDeviceFromLogicalImage(Image^, Color, ImageScalingMode)

Creates and returns a new bitmap or metafile scaled for the device units. When displayed on the device, the scaled image will have same size as the original image would have when displayed at 96dpi.

System_CAPS_pubmethodSystem_CAPS_staticCreateDeviceFromLogicalImage(Image^, ImageScalingMode)

Creates and returns a new bitmap or metafile scaled for the device units. When displayed on the device, the scaled image will have same size as the original image would have when displayed at 96dpi.

System_CAPS_pubmethodSystem_CAPS_staticCreateDeviceFromLogicalImage(ImageList^, Color, ImageScalingMode)

Creates and returns a new bitmap or metafile scaled for the device units. When displayed on the device, the scaled image will have same size as the original image would have when displayed at 96dpi.

System_CAPS_pubmethodSystem_CAPS_staticCreateDeviceFromLogicalImage(ImageList^, ImageScalingMode)

Creates and returns a new bitmap or metafile scaled for the device units. When displayed on the device, the scaled image will have same size as the original image would have when displayed at 96dpi.

Return to top
Show: