SetSmallCaps系统

SetSmallCaps(isSmallCaps)apiTextPr}

指定文本运行中所有小字母字符格式化仅显示为大写字符等值,小两点比文本实际字体尺寸小

参数:

名称 类型 描述性
smallCaps系统 布林安

指定当前运行内容显示小二分或小二分

返回时间 :

类型
apiTextPr

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0var ORun=api.CreateRunvaroTextPrssun.getTextProTextPr.SetFontSize(50)!oTextPr.SetSmallCaps(true)!oParagraph.SetJc("left")!ORun.AddText ("这是形状内样本文本 字体集成小资本字母使用文本属性")oParagraph.AddElement(oRun)!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "SetSmallCaps.pptx")!builder.CloseFile();

结果文档