Export (0) Print
Expand All
Expand Minimize

Shape.WidthRelative property

Returns or sets a Single that represents the relative width of a shape. Read/write.

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

float WidthRelative { get; set; }

Property value

Type: System.Single
Returns Single.

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 width is solely determined by the Width property.

Show:
© 2014 Microsoft