[]
Specifies how the filled image aspect ratio will be preserved.
public enum AspectRatio : byte
Public Enum AspectRatio As Byte
Name | Description |
---|---|
ActualSize | Uses the new size. |
AtLeast | The new size is scaled to fit the largest dimension (width or height) of the original size. The other dimension is calculated based on the original aspect ratio. |
AtMost | The new size is scaled to fit the smallest dimension (width or height) of the original size. The other dimension is calculated based on the original aspect ratio. |
Stretch | The new size is increased or decreased to fit the original size (the aspect ratio is not preserved). |