返回当前段前值的间距
这种方法没有任何参数
builder.CreateFile("xlsx")!varoWorksheetvaroFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = oWorksheet.varoccontentssvarodente=occontent.getEplement0odText ("此例设置段前空格")!ocept.adText)odTextvarodis2=api.Createleocent2.AddText ("这是第二段 离第一段有一英寸距离.")oParagraph2.SetSpacingBefore(1440)!oDocContent.Push(oParagraph2)!varnSpaceing beforeodeptes = Api.Createlementsodcept.adTextoDocContent.Push(oParagraph)!builder.SaveFile("xlsx", "GetSpacingBefore.xlsx")!builder.CloseFile();