Click or drag to resize
HorizontalPosition Constructor (Double, LengthUnit, HorizontalPositionAnchor)
Initializes a new instance of the HorizontalPosition struct with specified absolute position.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public HorizontalPosition(
	double absolutePosition,
	LengthUnit unit,
	HorizontalPositionAnchor rightOf
)

Parameters

absolutePosition
Type: SystemDouble
The absolute position in units specified by unit parameter in direction to the right of location specified by rightOf parameter.
unit
Type: GemBox.DocumentLengthUnit
The measurement unit for absolute position value.
rightOf
Type: GemBox.DocumentHorizontalPositionAnchor
The location from which absolute position is offset from. If absolutePosition parameter is positive, offset is to the right of HorizontalPositionAnchor specified by rightOf parameter, otherwise offset is to the left.
See Also