GetFormType

GetFormTypeFormType}

继承发件人 :ApiFormBase#GetFormType

返回当前表单类型

参数:

这种方法没有任何参数

返回时间 :

类型
FormType

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentVaroCheckBoxForm =Api.CreateCheckBoxFormvarolements=ODocument.GetEplement0oParagraph.AddElement(oCheckBoxForm)!oParagraph.AddText(" Married")!oParagraph.AddLineBreak()!oclookBoxForm = Api.CreateCheckBoxFormoParagraph.AddElement(oCheckBoxForm)!adTextvar sformType =oCheckBoxForm.GetFormTypeodeptes = Api.Createlementsodtext (sorm类型:+sormType)oDocument.Push(oParagraph)!builder.SaveFile("docx", "GetFormType.docx")!builder.CloseFile();

结果文档