Defines an action that enlarges or reduces the size of an image. This class cannot be inherited.

The following tables list the members exposed by the Scale type.

Public Methods

  NameDescription
Clone
Creates a copy of the current Scale.
(Overrides .Clone().)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Constructors

  NameDescription
ScaleNewOverloaded.

Public Properties

  NameDescription
HeightPercentage
Gets or sets the new image height based on a percentage of the original height.

InterpolationMode
Gets or sets the interpolation mode to use.

WidthPercentage
Gets or sets the new image width based on a percentage of the original width.