Skip to main content

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

Declaration

public enum PictureEditMaskLayoutMode

Members

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.

Related API Members

The following properties accept/return PictureEditMaskLayoutMode values:

Remarks

Use the PictureEditMaskLayoutMode values to initialize the PictureEditOptionsMask.MaskLayoutMode property.

See Also