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

    ShapeRelativeHorizontalSize Enum

    Lists elements to which the shape width is relative.

    Namespace: DevExpress.XtraRichEdit.API.Native

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

    NuGet Package: DevExpress.RichEdit.Core

    #Declaration

    public enum ShapeRelativeHorizontalSize

    #Members

    Name Description
    Margin

    The shape width is relative to the distance between the left and right margins.

    Page

    The shape width is relative to the page width.

    LeftMargin

    The shape width is relative to the left margin size.

    RightMargin

    The shape width is relative to the right margin width.

    InsideMargin

    The shape width is relative to the inside margin size (that is the right margin size for odd pages, and the left margin size for even pages).

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

    OutsideMargin

    The shape width is relative to the outside margin size (that is the left margin size for odd pages, and the right margin size for even pages).

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

    #Related API Members

    The following properties accept/return ShapeRelativeHorizontalSize values:

    See Also