[]
Represents a resized version of the input bitmap using a resampling or filtering algorithm.
public class Scaler : BaseTransform
Initializes a new instance of the Scaler class.
public Scaler()
Initializes a new instance of the Scaler class.
public Scaler(int destinationWidth, int destinationHeight, WicInterpolationMode interpolationMode)
destinationWidth
intThe destination width.
destinationHeight
intThe desination height.
interpolationMode
WicInterpolationModeThe interpolation mode to use when scaling.
Gets or sets the destination height, in pixels.
public int DestinationHeight { get; set; }
Gets or sets the destination width, in pixels.
public int DestinationWidth { get; set; }
Gets or sets the interpolation mode to use when scaling.
public WicInterpolationMode InterpolationMode { get; set; }