[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ShapeVerticalPosition

Class ShapeVerticalPosition

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

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

public class ShapeVerticalPosition : FormattingBag
Inheritance
object
ShapeVerticalPosition
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

Alignment

Gets or sets the relative vertical alignment 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 ShapeVerticalRelativeAlignment Alignment { get; set; }

Property Value

ShapeVerticalRelativeAlignment

Offset

Gets or sets the vertical 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; }

Property Value

float

RelativeTo

Gets or sets the element relative to which the vertical 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 ShapeVerticalRelativePosition RelativeTo { get; set; }

Property Value

ShapeVerticalRelativePosition

Type

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

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

public ShapePositionType Type { get; set; }

Property Value

ShapePositionType