Property Mode
Mode
Gets or initializes the resize mode, which determines how the image is scaled to fit within the target width and height.
Declaration
public ImageResizeMode Mode { get; init; }
Property Value
| Type | Description |
|---|---|
| ImageResizeMode |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is not a defined ImageResizeMode value. |