Back to Devexpress

VerticalAlignedPosition Class

aspnetcore-js-devexpress-dot-richedit-9291be41.md

latest3.1 KB
Original Source

VerticalAlignedPosition Class

Contains information about a floating object’s vertical position that is aligned to an anchor element.

Declaration

ts
export class VerticalAlignedPosition

Properties

alignment Property

Specifies the floating object’s alignment relative to an anchor element.

Declaration

ts
alignment: FloatingObjectVerticalAlignment

Property Value

TypeDescription
FloatingObjectVerticalAlignment

The alignment.

|

relativeTo Property

Specifies the anchor element relative to the specified position.

Declaration

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

Property Value

TypeDescription
Page

A floating object is aligned to a page.

| | Line |

A floating object is aligned to a line.

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

Property Value

TypeDescription
Aligned

Returns the Aligned value.

|