SizeConstraint Methods |
The SizeConstraint type exposes the following members.
Name | Description | |
---|---|---|
Equals |
Determines whether the specified object is a SizeConstraint structure with the same width, height and maximum width or height as this SizeConstraint structure.
(Overrides ValueTypeEquals(Object).) | |
GetHashCode |
Returns a hash code for this SizeConstraint structure.
(Overrides ValueTypeGetHashCode.) | |
Height |
Creates a new size constraint that makes the image resize to the specified height. This constraint maintains the aspect ratio. The resized image is never made larger than the original.
| |
MaxWidthOrHeight |
Creates a new size constraint that makes the image resize to the width and height that do not exceed the specified value. This constraint maintains the aspect ratio. The resized image is never made larger than the original.
| |
Size |
Creates a new size constraint that makes the image resize to the specified width and height. This constraint does not maintain the aspect ratio. The resized image is never made larger than the original.
| |
ToString |
Creates a human-readable string that represents this SizeConstraint structure.
(Overrides ValueTypeToString.) | |
Width |
Creates a new size constraint that makes the image resize to the specified width. This constraint maintains the aspect ratio. The resized image is never made larger than the original.
|