SetPlaceholderText

sepPlacedestratesText+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

设置占位符文本到当前内嵌内容控件不能设置复选框或按键

参数:

名称 类型 描述性
sText语言 字符串

文本设置为当前内联内容控制

返回时间 :

类型
布林安

实例

拷贝代码
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)!varstext=aForms[0].setPlacebuilder.SaveFile("docxf", "SetPlaceholderText.docxf")!builder.CloseFile();

结果文档