AutoCropPaddingMode Enum
Selects what an auto-crop does when the padding around the content reaches outside the canvas.
public enum AutoCropPaddingModeFields
| Name | Value | Description |
|---|---|---|
Expand | 0 | Enlarges the canvas: the area outside the original canvas is filled with the detected background color, while the padding inside the original canvas keeps the original pixels. This is the default. |
Contain | 1 | Clamps the padded rectangle to the original canvas: the result is always a plain crop, and the padding may be smaller on some sides. |