Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Shape AddShape( [In] int Type, [In] float Left, [In] float Top, [In] float Width, [In] float Height, [In, Optional] ref object Anchor );
public Shape AddShape( /*in*/int Type, /*in*/float Left, /*in*/float Top, /*in*/float Width, /*in*/float Height, /*in*/System.Object Anchor );
function AddShape( Type : int, Left : float, Top : float, Width : float, Height : float, Anchor : Object ) : Shape;
Required Integer. The type of shape to be returned. Can be any Microsoft.Office.Core.MsoAutoShapeType constant.
Required Single. The position, measured in points, of the left edge of the AutoShape.
Required Single. The position, measured in points, of the top edge of the AutoShape.
Required Single. The width, measured in points, of the AutoShape.
Required Single. The height, measured in points, of the AutoShape.
Optional Object. A Range object that represents the text to which the AutoShape is bound. If Anchor is specified, the anchor is positioned at the beginning of the first paragraph in the anchoring range. If this argument is omitted, the anchoring range is selected automatically and the AutoShape is positioned relative to the top and left edges of the page.