Setshd

Setshd(sType,r,g,b)阿比兰......

指定灰色应用到当前文本范围内容

参数:

名称 类型 描述性
sType系统 shdType系统

灰色类型应用到当前文本内容

R 字节

红色组件值

g级 字节

绿色分量值

b/ 字节

蓝色组件值

返回时间 :

类型
阿比兰空区

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0oParagraph.AddText("ONLYOFFICE Document Builder")!Var ORange=ODocument.GetRange(0,24)ORANGE.SETShdbuilder.SaveFile("docx", "SetShd.docx")!builder.CloseFile();

结果文档