ShapeRange.TopRelative Property

Returns or sets a Single that represents the relative top position of a range of shapes. Read/write.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property TopRelative As Single
    Get
    Set
'Usage
Dim instance As ShapeRange
Dim value As Single

value = instance.TopRelative

instance.TopRelative = value
float TopRelative { get; set; }

Property Value

Type: System.Single
Single

Remarks

Use this property with the RelativeVerticalPosition property. When set to wdShapePositionRelativeNone (-999999) (see the WdShapePositionRelative enumeration), this property should be ignored because the shape does not use percent positioning. The vertical position is solely determined by the Top property.

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.Word Namespace