GetSpacingBefore

GetScapingBeore树枝}

继承发件人 :ApiParaPr#GetSpacingBefore

返回当前段前值的间距

参数:

这种方法没有任何参数

返回时间 :

类型
树枝

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarodeptice1=ODocument.GetEplement0omentis1.AddText)odentis1.AddText)odisce1.AddTextvarodis2=api.Createleocent2.AddText ("这是第二段 离第一段有一英寸距离.")oParagraph2.SetSpacingBefore(1440)!oParagraph2.AddLineBreak()!varnSpaceing beforeodision2.AddTextoDocument.Push(oParagraph2)!builder.SaveFile("docx", "GetSpacingBefore.docx")!builder.CloseFile();

结果文档