officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-a23008d5.md
Lists elements to which the vertical position of a shape is relative.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public enum ShapeRelativeVerticalPosition
Public Enum ShapeRelativeVerticalPosition
| 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.
|
The following properties accept/return ShapeRelativeVerticalPosition values:
See Also