Click or drag to resize
HorizontalPosition Constructor (HorizontalPositionType, HorizontalPositionAnchor)
Initializes a new instance of the HorizontalPosition struct with specified alignment.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public HorizontalPosition(
	HorizontalPositionType alignment,
	HorizontalPositionAnchor relativeTo
)

Parameters

alignment
Type: GemBox.DocumentHorizontalPositionType
The alignment relative to HorizontalPositionAnchor specified by relativeTo parameter.
relativeTo
Type: GemBox.DocumentHorizontalPositionAnchor
The location from which alignment parameter is relative to.
See Also