GetDocCont

GetDocContentApiDocumentContent}

返回形状内部内容并插入段落或文本运行

参数:

这种方法没有任何参数

返回时间 :

类型
ApiDocumentContent

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokevaroDrawing=api.CreateShapeoParagraph.AddDrawing(oDrawing)!varoccontent=odrawing.getdoccontentvar slassType =odrawing.getClassTypeodeptes = Api.Createlementsodstext (slass类型=+ssstype)oDocContent.AddElement(0, oParagraph)!builder.SaveFile("docx", "GetDocContent.docx")!builder.CloseFile();

结果文档