GetClassType系统

GetClassType()+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

返回ApiOleObject类

参数:

这种方法没有任何参数

返回时间 :

类型
单对象

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar oOleObject = Api.CreateOleObject("https://api.onlyoffice.com/content/img/docbuilder/examples/ole-object-image.png", 130 * 36000, 90 * 36000, "https://youtu.be/SKGz4pmnpgY", "asc.{38E022EA-AD92-45FC-B22B-49DF39746DB4}")!varolements=ODocument.GetEplement0oParagraph.AddDrawing(oOleObject)!varstype=OleObject.GetClassTypeodeptes = Api.CreatelementsoddText (Class类型:+sype)oDocument.Push(oParagraph)!builder.SaveFile("docx", "GetClassType.docx")!builder.CloseFile();

结果文档