设置背景

sebBackforce(oApiFill)++{{boolean}

设置当前幻灯片布局背景

参数:

名称 类型 描述性
OAPIFILLLL apiFill

颜色或模式填充幻灯片布局后台

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0varomasterssservations.GetMasters0VaroLayotseVar OGs1 = Api.CreateGradientStopVar OGS2 = Api.CreateGradient StopvaroFinll =api.CriateRadialGratientFilloLayout.SetBackground(oFill)!oSlide.FollowLayoutBackground()!builder.SaveFile("pptx", "SetBackground.pptx")!builder.CloseFile();

结果文档