Back to Devexpress

ImageAlignment Enum

corelibraries-devexpress-dot-xtraprinting-bac89362.md

latest2.2 KB
Original Source

ImageAlignment Enum

Specifies the alignment of a displayed image in relation to the container control’s boundaries.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
[ResourceFinder(typeof(ResFinder))]
public enum ImageAlignment
vb
<ResourceFinder(GetType(ResFinder))>
Public Enum ImageAlignment

Members

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.

|

The following properties accept/return ImageAlignment values:

LibraryRelated API Members
Cross-Platform Class LibraryImageBrick.ImageAlignment
ImageEditingField.ImageAlignment
PageImageBrick.ImageAlignment
PageWatermark.ImageAlignment
.NET Reporting ToolsXRPictureBox.ImageAlignment

See Also

DevExpress.XtraPrinting Namespace