获取前置

GetPrevivespi段}

返回上段

参数:

这种方法没有任何参数

返回时间 :

类型
spi段

实例

拷贝代码
builder.CreateFile("xlsx")!varoWorksheetvaroFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = oWorksheet.varoccontentssoDocContent.RemoveAllElements()!varodepet1=api.Createleomentis1.AddTextoDocContent.Push(oParagraph1)!varodis2=api.Createleodent2.adtextoDocContent.Push(oParagraph2)!Var Oplisteduce=OODUCE2GEPEVEDYoPreviousParagraph.SetBold(true)!builder.SaveFile("xlsx", "GetPrevious.xlsx")!builder.CloseFile();

结果文档