指定边界显示于一组带同组段边框设置上方
名称 | 类型 | 描述性 |
sType系统 | 边框类型 | 边框样式 |
nSize | Pt_8 | 当前顶端边界宽度以点 八分测量 |
空间 | 平方公尺 | 间距偏上段用点测量 |
R | 字节 | 红色组件值 |
g级 | 字节 | 绿色分量值 |
b/ | 字节 | 蓝色组件值 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvaromyStyle=ODocument.CreateStylevar OParaPr=omyStyle.GetParaPrOParaPr.SetTopFrontivarolements=ODocument.GetEplement0oParagraph.SetStyle(oMyStyle)!odText ("这是第一段)odtext ("上段样式设置边框")builder.SaveFile("docx", "SetTopBorder.docx")!builder.CloseFile();