转换apiHyperlink对象为JSON对象
名称 | 类型 | 描述性 |
b writeSty | 布林安 | 指定使用样式写不写JSON对象 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0var oHyperlink=api.CreateHyperlinkevarjsonsseoHyperlink.toJSON(真)varoHyperlinkfromJSONoHyperlinkFromJSON.SetDefaultStyle()!oParagraph.AddElement(oHyperlinkFromJSON)!builder.SaveFile("docx", "ToJSON.docx")!builder.CloseFile();