Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShapeHorizontalAlignment Enum

Lists values that specify the horizontal alignment for a shape.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public enum ShapeHorizontalAlignment

#Members

Name Description
None

The Shape.OffsetX property specifies the shape’s position relative to the element defined by the Shape.RelativeHorizontalPosition property.

Left

The shape is left-aligned relative to the element defined by the Shape.RelativeHorizontalPosition property.

Center

The shape is centered relative to the element defined by the Shape.RelativeHorizontalPosition property.

Right

The shape is right-aligned relative to the element defined by the Shape.RelativeHorizontalPosition property.

Inside

The shape is left-aligned relative to the element defined by the Shape.RelativeHorizontalPosition property on odd pages, and right-aligned on even pages.

The Rich Text Editor left-aligns the shape relative to the given element for both odd and even pages.

Outside

The shape is right-aligned relative to the element defined by the Shape.RelativeHorizontalPosition property on odd pages, and left-aligned on even pages.

The Rich Text Editor right-aligns the shape relative to the given element for both odd and even pages.

#Related API Members

The following properties accept/return ShapeHorizontalAlignment values:

See Also