Getprevshape

GetPrevShape()阿比沙比......

返回前一内行形状

参数:

这种方法没有任何参数

返回时间 :

类型
阿比沙比空区

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0Var OGs1 = Api.CreateGradientStopVar OGS2 = Api.CreateGradient StopVaroFinll=Api.CreateLinearGradientFillVarostroke = Api.Createstroke 0,Api.CreatenoFinllVar Oshape1 = Api.CreateShapeoParagraph.AddDrawing(oShape1)!Var Oshape2 = Api.CreateShapeoParagraph.AddDrawing(oShape2)!Var oprevShape=Oshape2.GetprevShapei.CreateSolidFilloPrevShape.Fill(oFill)!builder.SaveFile("docx", "GetPrevShape.docx")!builder.CloseFile();

结果文档