类表示主题字体机制
名称 | 描述性 |
拷贝 | 创建当前主题字体机制副本 |
GetClassType系统 | 返回ApimeFontScheme类类型 |
seconts | 设置当前主题字体机制 |
设置系统Name | 设置当前主题字体机制名 |
ToJSON系统 | 转换ApimeFontScheme对象为JSON对象 |
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0varomasterssservations.GetMasters0varomeseVar oFontScheme=otheme.GetFontSchemesontScheme.SetFontsOFontScheme.SetSchemeNamevarstSype=oFontScheme.GetClassTypevaroFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!Shape.SetSize(300*36000,130*3600)varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0oParagraph.SetJc("left")!odText (新字体程序设置到此幻灯片上 )!oParagraph.AddLineBreak()!odtext (新名设置为主题字体计划 )!oParagraph.AddLineBreak()!odclips类型=+sypeoSlide.RemoveAllObjects()!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "ApiThemeFontScheme.pptx")!builder.CloseFile();