Constructor ImageResizeOptions
ImageResizeOptions(ImageResizeMode, int, int, bool)
Initializes a new instance of the ImageResizeOptions class with the specified dimensions and resize mode.
Declaration
public ImageResizeOptions(ImageResizeMode mode, int width, int height, bool matchSourceOrientation = false)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageResizeMode | mode | The resize mode to apply. |
| int | width | The target width in pixels. Must be greater than or equal to 1. |
| int | height | The target height in pixels. Must be greater than or equal to 1. |
| bool | matchSourceOrientation | If true, the target |