Defines a horizontal position with alignment in respect to the specified positioning base.

Namespace: Docentric.Documents.ObjectModel.Shapes
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public static HorizontalPosition Aligned( HorizontalPositionAlignment alignment, HorizontalPositionPositioningBase positioningBase )

Parameters

alignment
Type: HorizontalPositionAlignment

The alignment for the floating object.

positioningBase
Type: HorizontalPositionPositioningBase

Positioning base specifies the part of the document from which the positioning shall be calculated.

Return value

Type: HorizontalPosition
Returns a HorizontalPosition value.