다음을 통해 공유


ShapeRange.HeightRelative Property

Returns or sets a Single that represents the percentage of the target shape to which the range of shapes is sized. Read/write.

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

Syntax

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

value = instance.HeightRelative

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

Property Value

Type: System.Single
Single

Remarks

Use this property with the RelativeVerticalSize property. When set to wdShapeSizeRelativeNone (-999999) (see the WdShapeSizeRelative enumeration), this property should be ignored because the shape does not use percent sizing. The height is solely determined by the Height property.

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.Word Namespace