ShapeRange.Top Property

Definition

Returns or sets the vertical position of the specified shape range in points.

public:
 property float Top { float get(); void set(float value); };
public float Top { get; set; }
member this.Top : single with get, set
Public Property Top As Single

Property Value

Remarks

The position of a shape is measured from the upper-left corner of the shape's bounding box to the shape's anchor. The RelativeVerticalPosition property controls whether the shape's anchor is positioned alongside the line, the paragraph, the margin, or the edge of the page.

For a ShapeRange object that contains more than one shape, the Top property sets the vertical position of each shape.

Applies to