Skip to main content
A newer version of this page is available. .

Shape.RelativeVerticalPosition Property

Gets or sets an item to what the vertical position of a shape is relative.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

ShapeRelativeVerticalPosition RelativeVerticalPosition { get; set; }

Property Value

Type Description
ShapeRelativeVerticalPosition

A ShapeRelativeVerticalPosition enumeration member.

Available values:

Name Description
Page

Not in use.

Line

Relative to line.

Paragraph

Not in use.

Margin

Relative to margin.

TopMargin

Relative to top margin.

BottomMargin

Relative to bottom margin.

InsideMargin

Not in use.

OutsideMargin

Not in use.

Remarks

Use the Shape.VerticalAlignment property to specify alignment of a shape relative to the item specified by the RelativeVerticalPosition value. If the horizontal alignment is set to ShapeVerticalAlignment.None, use the Shape.Offset property to specify the absolute position of a shape relative to the item specified by the RelativeVerticalPosition value.

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

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