Defines a vertical 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 VerticalPosition Aligned( VerticalPositionAlignment alignment, VerticalPositionPositioningBase positioningBase )

Parameters

alignment
Type: VerticalPositionAlignment

The alignment for the floating object.

positioningBase
Type: VerticalPositionPositioningBase

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

Return value

Type: VerticalPosition
Returns a VerticalPosition value.