Specifies which algorithm is used to scale bitmap images.
Assembly: PresentationCore (in PresentationCore.dll)
|Use very high quality Fant bitmap scaling, which is slower than all other bitmap scaling modes, but produces higher quality output.|
|Use high quality bitmap scaling, which is slower than mode, but produces higher quality output. The mode is the same as the mode.|
|Use linear bitmap scaling, which is faster than mode, but produces lower quality output.|
|Use bilinear bitmap scaling, which is faster than mode, but produces lower quality output. The mode is the same as the mode.|
|Use nearest-neighbor bitmap scaling, which provides performance benefits over mode when the software rasterizer is used. This mode is often used to magnify a bitmap.|
|Use the default bitmap scaling mode, which is .|
When animating the scale of any bitmap, the default high-quality image re-sampling algorithm can sometimes consume sufficient system resources to cause frame rate degradation. This frame rate degradation can cause animations to skip frames or stutter. By setting the BitmapScalingMode property of the RenderOptions object to you can create a smoother animation when scaling a bitmap.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)