赛普Caps

SetCaps(isCaps)阿比兰......

指定当前文本中小写字符格式化仅显示为基字字符等值

参数:

名称 类型 描述性
asCaps 布林安

指定区域内容是否显示为资本化

返回时间 :

类型
阿比兰空区

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0oParagraph.AddText("ONLYOFFICE Document Builder")!Var ORange=ODocument.GetRange(10,17)oRange.SetCaps(true)!builder.SaveFile("docx", "SetCaps.docx")!builder.CloseFile();

结果文档