DpiHelper Properties

 

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

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticBitmapScalingMode

Gets the BitmapScalingMode algorithm to be used for resizing images in WPF. This allows the shell to control the algorithm depending on the dpi zoom scale, and allows the user to override it via registry settings like General\BitmapScalingXXX = (BitmapScalingMode)value, with XXX the zoom factor in percents, e.g. BitmapScaling150, etc.

System_CAPS_pubpropertySystem_CAPS_staticDeviceDpiX

Microsoft internal use only.

System_CAPS_pubpropertySystem_CAPS_staticDeviceDpiY

Microsoft internal use only.

System_CAPS_pubpropertySystem_CAPS_staticDeviceToLogicalUnitsScalingFactorX

Microsoft internal use only.

System_CAPS_pubpropertySystem_CAPS_staticDeviceToLogicalUnitsScalingFactorY

Microsoft internal use only.

System_CAPS_pubpropertySystem_CAPS_staticDpiScalePercentX

Gets the DPI scale percent for the horizontal scale.

System_CAPS_pubpropertySystem_CAPS_staticDpiScalePercentY

Gets the DPI scale percent for the vertical scale.

System_CAPS_pubpropertySystem_CAPS_staticImageScalingMode

Gets the ImageScalingMode algorithm to be used for resizing images in WinForms/Win32. This allows the shell to control the algorithm depending on the dpi zoom scale, and allows the user to override it via registry settings like General\ImageScalingXXX = (ImageScalingMode)value, with XXX the zoom factor in percents, e.g. ImageScaling150, etc.

System_CAPS_pubpropertySystem_CAPS_staticInstance

Gets an instance of DpiHelper.

System_CAPS_pubpropertySystem_CAPS_staticIsScalingRequired

Determines whether scaling is required when converting between logical-device units.

System_CAPS_pubpropertySystem_CAPS_staticLogicalDpiX

Gets the logical DPI for the horizontal coordinates.

System_CAPS_pubpropertySystem_CAPS_staticLogicalDpiY

Gets the logical DPI for the vertical coordinates.

System_CAPS_pubpropertySystem_CAPS_staticLogicalToDeviceUnitsScalingFactorX

Microsoft internal use only.

System_CAPS_pubpropertySystem_CAPS_staticLogicalToDeviceUnitsScalingFactorY

Microsoft internal use only.

System_CAPS_pubpropertySystem_CAPS_staticPreScaledImageLayoutTransformScaleX

Gets the horizontal scale value that should be used with a LayoutTransform/ScaleTransform to scale back an image pre-scaled in HighDPI with DpiPrescaleImageSourceConverter in order to obtain crisp results.

System_CAPS_pubpropertySystem_CAPS_staticPreScaledImageLayoutTransformScaleY

Gets the vertical scale value that should be used with a LayoutTransform/ScaleTransform to scale back an image pre-scaled in HighDPI with DpiPrescaleImageSourceConverter in order to obtain crisp results.

System_CAPS_pubpropertySystem_CAPS_staticTransformFromDevice

Microsoft internal use only.

System_CAPS_pubpropertySystem_CAPS_staticTransformToDevice

Microsoft internal use only.

System_CAPS_pubpropertySystem_CAPS_staticUsePreScaledImages

Determines whether images should be pre-scaled at zoom levels higher than 200%, using NearestNeighbor up to the largest multiple of 100%.

Return to top
Show: