Defines a horizontal position with an an offset expressed as percentage in respect to the specified positioning base.

Namespace: Docentric.Documents.ObjectModel.Shapes
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public static HorizontalPosition PercentageOffset( Int32 offset, HorizontalPositionPositioningBase positioningBase )

Parameters

offset
Type: Int32

Offset expressed as percentage in respect to the specified positioning base. Valid range of values is from 0 to 100.

positioningBase
Type: HorizontalPositionPositioningBase

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

Return value

Type: HorizontalPosition