[]
Represents the horizontal position of a floating shape within a document.
public class ShapeHorizontalPosition : FormattingBag
Gets or sets the relative horizontal alignment position of a shape.
If Type is Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.
public ShapeHorizontalRelativeAlignment Alignment { get; set; }
Gets or sets the horizontal offset in points or percent according to the Type property value.
For nested shapes this property value is always relative to the parent shape's ChildrenOffset.
If the shape is not nested and Type is Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.
public float Offset { get; set; }
Gets or sets the element relative to which the horizontal position of a shape is calculated.
If Type is Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.
public ShapeHorizontalRelativePosition RelativeTo { get; set; }
Gets or sets a value specifying how a shape position is calculated.
public ShapePositionType Type { get; set; }