GetPlaceholderText

GetPlace

返回当前内行内容控件中的占位符文本

参数:

这种方法没有任何参数

返回时间 :

类型
字符串

实例

拷贝代码
builder.CreateFile("docxf")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0var ORun=api.CreateRunORUN.AddText ('dabox to the下一行复选框->Comboboxbox,复制上方宏(无前两行)并运行它(插件->Macoss)oParagraph.AddElement(oRun)!var aForms =oDocument.GetAllFormsoParagraph.RemoveElement(0)!var sText=aForms[0].GetPlaceodeptes = Api.CreatelementsoddText (Placeders文本:+stext)oDocument.Push(oParagraph)!builder.SaveFile("docxf", "GetPlaceholderText.docxf")!builder.CloseFile();

结果文档