Skip to main content

HorizontalAbsolutePosition Class

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

Declaration

export class HorizontalAbsolutePosition

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: FloatingObjectHorizontalAnchorElement

Property Value

Type Description
FloatingObjectHorizontalAnchorElement

An anchor element.

type Property

Returns the position type.

Declaration

readonly type: FloatingObjectHorizontalPositionType

Property Value

Type Description
FloatingObjectHorizontalPositionType

Returns the Absolute value.