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

ShapeRelativeHorizontalPosition Enum

Lists elements to which the horizontal position of a shape is relative.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public enum ShapeRelativeHorizontalPosition

#Members

Name Description
Page

The shape’s position is relative to the page.

Character

The shape’s position is relative to the character that contains the shape’s anchor.

Column

The shape’s position is relative to the column that contains the anchoring paragraph.

Margin

The shape’s position is relative to page margins.

LeftMargin

The shape’s position is relative to the left margin.

RightMargin

The shape’s position is relative to the right margin.

InsideMargin

The shape’s position is relative to the inside margin (i.e., the left margin for odd pages, and the right margin for even pages).

The Rich Text Editor positions the shape relative to the left margin for both odd and even pages.

OutsideMargin

The shape’s position is relative to the outside margin (i.e., the right margin for odd pages, and the left margin for even pages).

The Rich Text Editor positions the shape relative to the right margin for both odd and even pages.

#Related API Members

The following properties accept/return ShapeRelativeHorizontalPosition values:

See Also