[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.Scaler

Class Scaler

Namespace
GrapeCity.Documents.Imaging.Windows
Assembly
GcDocs.Imaging.Windows.dll

Represents a resized version of the input bitmap using a resampling or filtering algorithm.

public class Scaler : BaseTransform
Inheritance
object
Scaler
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Scaler()

Initializes a new instance of the Scaler class.

public Scaler()

Scaler(int, int, WicInterpolationMode)

Initializes a new instance of the Scaler class.

public Scaler(int destinationWidth, int destinationHeight, WicInterpolationMode interpolationMode)

Parameters

destinationWidth int

The destination width.

destinationHeight int

The desination height.

interpolationMode WicInterpolationMode

The interpolation mode to use when scaling.

Properties

DestinationHeight

Gets or sets the destination height, in pixels.

public int DestinationHeight { get; set; }

Property Value

int

DestinationWidth

Gets or sets the destination width, in pixels.

public int DestinationWidth { get; set; }

Property Value

int

InterpolationMode

Gets or sets the interpolation mode to use when scaling.

public WicInterpolationMode InterpolationMode { get; set; }

Property Value

WicInterpolationMode