SetFontForm

SetFontFormes阿比兰......

设置所有四种字体插件并带指定的字体组

参数:

名称 类型 描述性
sontForm 字符串

字体家庭当前文本使用

返回时间 :

类型
阿比兰空区

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0odtext ("这只是样本文本)oments.adTextVar ORange=ODocument.GetRange(22,71)oRange.SetFontFamily("Consolas")!builder.SaveFile("docx", "SetFontFamily.docx")!builder.CloseFile();

结果文档