Back to Devexpress

ImageEditingField.ImageAlignment Property

corelibraries-devexpress-dot-xtraprinting-dot-imageeditingfield-6ad46225.md

latest2.5 KB
Original Source

ImageEditingField.ImageAlignment Property

The image alignment of the associated image brick.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

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

Property Value

TypeDescription
ImageAlignment

The image brick’s ImageBrick.ImageAlignment option value.

|

Available values:

NameDescription
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

Brick

ImageEditingField Class

ImageEditingField Members

DevExpress.XtraPrinting Namespace