CanvasShapes.BuildFreeform(MsoEditingType, Single, Single) 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.
Builds a freeform object.
public:
Microsoft::Office::Interop::Word::FreeformBuilder ^ BuildFreeform(Microsoft::Office::Core::MsoEditingType EditingType, float X1, float Y1);
public Microsoft.Office.Interop.Word.FreeformBuilder BuildFreeform (Microsoft.Office.Core.MsoEditingType EditingType, float X1, float Y1);
abstract member BuildFreeform : Microsoft.Office.Core.MsoEditingType * single * single -> Microsoft.Office.Interop.Word.FreeformBuilder
Public Function BuildFreeform (EditingType As MsoEditingType, X1 As Single, Y1 As Single) As FreeformBuilder
Parameters
- EditingType
- MsoEditingType
The editing property of the first node.
- X1
- Single
The X-position of the first node in the freeform drawing relative to the upper-left corner of the document.
- Y1
- Single
The Y-position of the first node in the freeform drawing relative to the upper-left corner of the document.
Returns
Remarks
Use the AddNodes(MsoSegmentType, MsoEditingType, Single, Single, Single, Single, Single, Single) method to add segments to the freeform. After you have added at least one segment to the freeform, you can use the ConvertToShape(Object) method to convert the FreeformBuilder object into a Shape object that has the geometric description you've defined in the FreeformBuilder object.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應