Back to Devexpress

IHorizontalRelativePosition Interface

aspnetcore-js-devexpress-dot-richedit-30888405.md

latest2.3 KB
Original Source

IHorizontalRelativePosition Interface

Declares settings that specify a floating object’s horizontal position.

Declaration

ts
export interface IHorizontalRelativePosition

Properties

relativePosition Property

Specifies a floating object’s position as a percentage relative to an anchor element.

Declaration

ts
relativePosition: number

Property Value

TypeDescription
number

The position as a percentage.

|

relativeTo Property

Specifies the anchor element relative to the specified position.

Declaration

ts
relativeTo: FloatingObjectHorizontalAnchorElement.Margin | FloatingObjectHorizontalAnchorElement.Page | FloatingObjectHorizontalAnchorElement.LeftMargin | FloatingObjectHorizontalAnchorElement.RightMargin | FloatingObjectHorizontalAnchorElement.InsideMargin | FloatingObjectHorizontalAnchorElement.OutsideMargin

Property Value

TypeDescription
Page

A floating object is aligned to a page.

| | Margin |

A floating object is aligned to page margins.

| | LeftMargin |

A floating object is aligned to the left margin.

| | RightMargin |

A floating object is aligned to the right margin.

| | InsideMargin |

A floating object is aligned to the left margin for odd pages, and the right margin for even pages.

| | OutsideMargin |

A floating object is aligned to the right margin for odd pages, and the left margin for even pages.

|