편집

다음을 통해 공유


FreeformBuilder.ConvertToShape(Object) Method

Definition

Creates a shape that has the geometric characteristics of the specified object. Returns a Shape object that represents the new shape.

public Microsoft.Office.Interop.Word.Shape ConvertToShape (ref object Anchor);
abstract member ConvertToShape : obj -> Microsoft.Office.Interop.Word.Shape
Public Function ConvertToShape (Optional ByRef Anchor As Object) As Shape

Parameters

Anchor
Object

Optional Object. A Range object that represents the text to which the shape 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 shape is positioned relative to the top and left edges of the page.

Returns

Remarks

You must apply the AddNodes(MsoSegmentType, MsoEditingType, Single, Single, Single, Single, Single, Single) method to a FreeformBuilder object at least once before you use the ConvertToShape method.

Applies to