Skip to main content

VerticalAbsolutePosition Class

Contains information about a floating object’s vertical position. The position is specified in twips relative to an anchor element.

Declaration

export class VerticalAbsolutePosition

Properties

position Property

Specifies the floating object’s position in twips relative to an anchor element.

Declaration

position: number

Property Value

Type Description
number

The position in twips.

relativeTo Property

Specifies the anchor element relative to the specified position.

Declaration

relativeTo: FloatingObjectVerticalAnchorElement

Property Value

Type Description
FloatingObjectVerticalAnchorElement

An anchor element.

type Property

Returns the position type.

Declaration

readonly type = FloatingObjectVerticalPositionType.Absolute

Property Value

Type Description
Absolute

Returns the Absolute value.