|
|
|
@ -103,16 +103,16 @@ The `ImageResizeArgs` is a class that is used to define the resize operation par
|
|
|
|
The `ImageResizeMode` is an enum that is used to define the resize mode. It has the following values:
|
|
|
|
The `ImageResizeMode` is an enum that is used to define the resize mode. It has the following values:
|
|
|
|
|
|
|
|
|
|
|
|
```csharp
|
|
|
|
```csharp
|
|
|
|
public enum ImageResizeMode
|
|
|
|
public enum ImageResizeMode : byte
|
|
|
|
{
|
|
|
|
{
|
|
|
|
None,
|
|
|
|
None = 0,
|
|
|
|
Stretch,
|
|
|
|
Stretch = 1,
|
|
|
|
BoxPad,
|
|
|
|
BoxPad = 2,
|
|
|
|
Min,
|
|
|
|
Min = 3,
|
|
|
|
Max,
|
|
|
|
Max = 4,
|
|
|
|
Crop,
|
|
|
|
Crop = 5,
|
|
|
|
Pad,
|
|
|
|
Pad = 6,
|
|
|
|
Default
|
|
|
|
Default = 7
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|