.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.

ShapeVerticalAlignment Enum

Lists values that specify the vertical alignment for a shape.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

public enum ShapeVerticalAlignment

Members

Name Description
None

The Shape.OffsetY property specifies the shape’s position relative to the element defined by the Shape.RelativeVerticalPosition property.

Top

The shape is aligned to the top of the element defined by the Shape.RelativeVerticalPosition property.

Center

The shape is centered relative to the element defined by the Shape.RelativeVerticalPosition property.

Bottom

The shape is aligned to the bottom of the element defined by the Shape.RelativeVerticalPosition property.

Inside

The shape is aligned to the top of the element defined by the Shape.RelativeVerticalPosition property on odd pages, and is aligned to the bottom of the specified element on even pages.

The Rich Text Editor aligns the shape to the top of the specified element for both odd and even pages.

Outside

The shape is aligned to the bottom of the element defined by the Shape.RelativeVerticalPosition property on odd pages, and is aligned to the top of the specified element on even pages.

The Rich Text Editor aligns the shape to the bottom of the specified element for both odd and even pages.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShapeVerticalAlignment 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