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
| Name | Description | |
|---|---|---|
| Clone |
Creates a copy of the current Scale.
(Overrides .Clone().) | |
| Equals | (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 | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| 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
| Name | Description | |
|---|---|---|
| ScaleNew | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
| 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.
|