Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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

    ShapeRelativeVerticalSize Enum

    Lists elements to which the shape height is relative.

    Namespace: DevExpress.XtraRichEdit.API.Native

    Assembly: DevExpress.RichEdit.v25.1.Core.dll

    NuGet Package: DevExpress.RichEdit.Core

    #Declaration

    public enum ShapeRelativeVerticalSize

    #Members

    Name Description
    Margin

    The shape height is relative to the distance between the top and bottom margins.

    Page

    The shape height is relative to the page height.

    TopMargin

    The shape height is relative to the top margin size.

    BottomMargin

    The shape height is relative to the bottom margin size.

    InsideMargin

    The shape height is relative to the inside margin size (that is the top margin size for odd pages, and the bottom margin size for even pages).

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

    OutsideMargin

    The shape height is relative to the outside margin size (that is the top margin size for odd pages, and the bottom margin size for even pages).

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

    #Related API Members

    The following properties accept/return ShapeRelativeVerticalSize values:

    See Also