Skip to main content

ImageEditingField.ImageAlignment Property

The image alignment of the associated image brick.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public ImageAlignment ImageAlignment { get; set; }

Property Value

Type Description
ImageAlignment

The image brick’s ImageBrick.ImageAlignment option value.

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

This property gets and sets the associated image brick’s ImageBrick.ImageAlignment property.

The PrintingSystemBase.EditingFieldChanged event occurs when changing the ImageAlignment property.

See Also