设置间距

区间间隔(nSpaceing)apiTextPr}

设置以点20s测量的文本间距

参数:

名称 类型 描述性
NSpace 树枝

文本间距值以点的20s测量

返回时间 :

类型
apiTextPr

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarOTextPr=ODocument.Get DefaultextProTextPr.SetSpacing(80)!varolements=ODocument.GetEplement0odText ("a样本文本,间距设置为4点(8020s点).")builder.SaveFile("docx", "SetSpacing.docx")!builder.CloseFile();

结果文档