ImageBrick.ImageAlignment Property
Gets or sets the alignment of the image displayed within the current brick.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
[DefaultValue(ImageAlignment.Default)]
public virtual ImageAlignment ImageAlignment { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Image |
Default | One of the Image |
Available values:
Name | Description |
---|---|
Default | The default image alignment is used. |
Top |
An image is aligned to the top left corner of a control. |
Top |
An image is aligned to the top side of a control. |
Top |
An image is aligned to the top right corner of a control. |
Middle |
An image is aligned to the left side of a control. |
Middle |
An image is aligned to the middle of a control. |
Middle |
An image is aligned to the right side of a control. |
Bottom |
An image is aligned to the bottom left corner of a control. |
Bottom |
An image is aligned to the bottom side of a control. |
Bottom |
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.