Skip to main content
A newer version of this page is available. .

ImageBrick.ImageAlignment Property

Gets or sets the alignment of the image displayed within the current brick.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[DefaultValue(ImageAlignment.Default)]
[XtraSerializableProperty]
public virtual ImageAlignment ImageAlignment { get; set; }

Property Value

Type Default Description
ImageAlignment **Default**

One of the ImageAlignment values.

Available values:

Name Description
Default

The default image alignment is used.

TopLeft

An image is aligned to the top left corner of a control.

TopCenter

An image is aligned to the top side of a control.

TopRight

An image is aligned to the top right corner of a control.

MiddleLeft

An image is aligned to the left side of a control.

MiddleCenter

An image is aligned to the middle of a control.

MiddleRight

An image is aligned to the right side of a control.

BottomLeft

An image is aligned to the bottom left corner of a control.

BottomCenter

An image is aligned to the bottom side of a control.

BottomRight

An image is aligned to the bottom right corner of a control.

Remarks

To specify the image displayed within the current brick, use the ImageBrick.ImageSource property.

See Also