GetSelectedDrawings

GetSectiveDrawings数组 |数组 |数组 |数组 }

返回当前文档中所有选定绘图

参数:

这种方法没有任何参数

返回时间 :

类型
数组 | 数组 | 数组 | 数组

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0varoFinll =api.CreateSolidFillVarostroke = Api.Createstroke 0,Api.CreatenoFinllvaroDrawing=api.CreateShapeoParagraph.AddDrawing(oDrawing)!oDrawing.Select()!var adrawings =ODocument.获取选择LawingssetSize2*9144002*914400builder.SaveFile("docx", "GetSelectedDrawings.docx")!builder.CloseFile();

结果文档