SciChart.Drawing Assembly > System.Windows.Media.Imaging Namespace > WriteableBitmapExtensions Class > Resize Method : Resize(BitmapContext,Int32,Int32,Int32,Int32,Interpolation) Method
The source context.
The width of the source pixels.
The height of the source pixels.
The new desired width.
The new desired height.
The interpolation method that should be used.
Resize(BitmapContext,Int32,Int32,Int32,Int32,Interpolation) Method
Creates a new resized bitmap.
Syntax

Parameters

srcContext
The source context.
widthSource
The width of the source pixels.
heightSource
The height of the source pixels.
width
The new desired width.
height
The new desired height.
interpolation
The interpolation method that should be used.

Return Value

A new bitmap that is a resized version of the input.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also