共用方式為


ImageScalingMode Enumeration

The scaling mode to use for Windows Forms/Win32 images.

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

Syntax

'Declaration
Public Enumeration ImageScalingMode
public enum ImageScalingMode
public enum class ImageScalingMode
type ImageScalingMode
public enum ImageScalingMode

Members

Member name Description
Bicubic
Bilinear
BorderOnly Keep the actual image unscaled, add a border around the image.
Default Let the shell pick what looks best depending on the current DPI zoom factor.
HighQualityBicubic Smooth results, without distortions, but fuzzy.
HighQualityBilinear Smooth results, without distortions, but fuzzy.
NearestNeighbor Sharp results, but pixelated, and possibly distorted unless multiple of 100% scaling.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace