PictureEditMaskLayoutMode Enum
Contains values that specify how a mask is aligned relative to an image in the PictureEdit control.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Members
Name | Description |
---|---|
Default
|
The same as Zoom |
Zoom
|
A mask is stretched proportionally within the image’s boundaries. |
Stretch
|
A mask is stretched to fit the image’s boundaries. |
Bottom
|
A mask is aligned at the center of the bottom side of the image. |
Bottom
|
A mask is aligned to the bottom left corner of the image. |
Bottom
|
A mask is aligned to the bottom right corner of the image. |
Middle
|
A mask is aligned to the middle of the image. |
Middle
|
A mask is aligned at the center of the left side of the image. |
Middle
|
A mask is aligned at the center of the right side of the image. |
Top
|
A mask is aligned at the center of the top side of the image. |
Top
|
A mask is aligned to the top left corner of the image. |
Top
|
A mask is aligned to the top right corner of the image. |
#Related API Members
The following properties accept/return PictureEditMaskLayoutMode values:
#Remarks
Use the PictureEditMaskLayoutMode values to initialize the PictureEditOptionsMask.MaskLayoutMode property.