[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ShapeHorizontalPosition

ShapeHorizontalPosition Class

Represents the horizontal position of a floating shape within a document.

Inheritance
ShapeHorizontalPosition
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class ShapeHorizontalPosition : FormattingBag
Public Class ShapeHorizontalPosition
    Inherits FormattingBag

Properties

Name Description
Alignment

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.

Offset

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.

RelativeTo

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.

Type

Gets or sets a value specifying how a shape position is calculated.

If property Type is Inline, this value is always Points.