windowsforms-devexpress-dot-xtraeditors-dot-controls-36517200.md
Contains values that specify how a mask is aligned relative to an image in the PictureEdit control.
Namespace : DevExpress.XtraEditors.Controls
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public enum PictureEditMaskLayoutMode
Public Enum PictureEditMaskLayoutMode
| Name | Description |
|---|---|
Default |
The same as ZoomInside.
|
| ZoomInside |
A mask is stretched proportionally within the image’s boundaries.
|
| Stretch |
A mask is stretched to fit the image’s boundaries.
|
| BottomCenter |
A mask is aligned at the center of the bottom side of the image.
|
| BottomLeft |
A mask is aligned to the bottom left corner of the image.
|
| BottomRight |
A mask is aligned to the bottom right corner of the image.
|
| MiddleCenter |
A mask is aligned to the middle of the image.
|
| MiddleLeft |
A mask is aligned at the center of the left side of the image.
|
| MiddleRight |
A mask is aligned at the center of the right side of the image.
|
| TopCenter |
A mask is aligned at the center of the top side of the image.
|
| TopLeft |
A mask is aligned to the top left corner of the image.
|
| TopRight |
A mask is aligned to the top right corner of the image.
|
The following properties accept/return PictureEditMaskLayoutMode values:
Use the PictureEditMaskLayoutMode values to initialize the PictureEditOptionsMask.MaskLayoutMode property.
See Also