Back to Devexpress

VerticalRelativePosition Class

aspnetcore-js-devexpress-dot-richedit-4748b7b4.md

latest2.8 KB
Original Source

VerticalRelativePosition Class

Contains information about a floating object’s vertical position specified as a percentage relative to an anchor element.

Declaration

ts
export class VerticalRelativePosition

Properties

relativePosition Property

Specifies the anchor element relative to the specified position.

Declaration

ts
relativePosition: number

Property Value

TypeDescription
number

An anchor element.

|

relativeTo Property

Specifies the anchor element relative to the specified position.

Declaration

ts
relativeTo: FloatingObjectVerticalAnchorElement.Page | FloatingObjectVerticalAnchorElement.Margin | FloatingObjectVerticalAnchorElement.TopMargin | FloatingObjectVerticalAnchorElement.BottomMargin | FloatingObjectVerticalAnchorElement.InsideMargin | FloatingObjectVerticalAnchorElement.OutsideMargin

Property Value

TypeDescription
Page

A floating object is aligned to a page.

| | Margin |

A floating object is aligned to page margins.

| | TopMargin |

A floating object is aligned to the top margin.

| | BottomMargin |

A floating object is aligned to the bottom margin.

| | InsideMargin |

A floating object is aligned to the top margin for odd pages, and the bottom margin for even pages.

| | OutsideMargin |

A floating object is aligned to the bottom margin for odd pages, and the top margin for even pages.

|

type Property

Returns the position type.

Declaration

ts
readonly type = FloatingObjectVerticalPositionType.Relative

Property Value

TypeDescription
Relative

Returns the Relative value.

|