Share via


Shape.Width Property 

Returns or sets the width of the specified object, in points.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim shape1 As Shape

Dim returnValue As Single
returnValue = shape1.Width

Dim sampleValue As Single
shape1.Width = sampleValue

Syntax

Property Width() As Single
float Width {get; set;}
property Single Width{
    Single get();
    Void set(Single);
}
public float get_Width();
public void set_Width(float);
function get Width() : float;
function set Width(float);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Shape Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Shape Members