segormKey

segormKey/skey++{{bulean

继承发件人 :ApiFormBase#SetFormKey

设置当前表单密钥

参数:

名称 类型 描述性
skey系统 字符串

表格密钥

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar OpictrolForm = Api.CreatePictromoPictureForm.SetImage("https://api.onlyoffice.com/content/img/docbuilder/examples/user-profile.png")!varolements=ODocument.GetEplement0oParagraph.AddElement(oPictureForm)!oPictureForm.SetFormKey("Personal information")!varsKey=opictureForm.GetFormKeyodeptes = Api.Createlementsodtext (gorm密钥:+skey)oDocument.Push(oParagraph)!builder.SaveFile("docx", "SetFormKey.docx")!builder.CloseFile();

结果文档