获取Layout

获取LayoutApiLayout......

返回当前幻灯片布局

参数:

这种方法没有任何参数

返回时间 :

类型
ApiLayout空区

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0VaroLayoutsslide获取LayotvaroFinll =api.CreateSolidFilloLayout.SetBackground(oFill)!oSlide.FollowLayoutBackground()!builder.SaveFile("pptx", "GetLayout.pptx")!builder.CloseFile();

结果文档