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

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[DefaultValue(ImageAlignment.Default)]
public ImageAlignment ImageAlignment { get; set; }
<SRCategory(ReportStringId.CatBehavior)>
<DefaultValue(ImageAlignment.Default)>
Public Property ImageAlignment As ImageAlignment

Property Value

Type Default Description
ImageAlignment

Default

A ImageAlignment enumeration value.

Remarks

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