FreeformBuilder.ConvertToShape(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin