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

ShapeRelativeVerticalPosition Enum

Lists elements to which the vertical 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 ShapeRelativeVerticalPosition

#Members

Name Description
Page

The shape’s position is relative to the page.

Line

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

Paragraph

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

Margin

The shape’s position is relative to page margins.

TopMargin

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

BottomMargin

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

InsideMargin

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

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

OutsideMargin

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

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

#Related API Members

The following properties accept/return ShapeRelativeVerticalPosition values:

See Also