A newer version of this page is available. Switch to the current version.

XRPictureBox.ImageAlignment Property

Specifies the alignment of a displayed image in relation to the XRPictureBox control's boundaries.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll


public ImageAlignment ImageAlignment { get; set; }
Public Property ImageAlignment As ImageAlignment

Property Value

Type Default Description


A ImageAlignment enumeration value.


This property has effect only if an XRPictureBox control's XRPictureBox.Sizing is set to ImageSizeMode.Normal, ImageSizeMode.Squeeze or ImageSizeMode.ZoomImage. You do not have to set an image alignment when Sizing is set to any other value (ImageSizeMode.StretchImage, ImageSizeMode.AutoSize or ImageSizeMode.Tile).

See Also