.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

ShapeRelativeHorizontalPosition Enum

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

Namespace: DevExpress.XtraRichEdit.API.Native

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

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShapeRelativeHorizontalPosition enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also