设置边框显示在当前表左侧
名称 | 类型 | 描述性 |
sType系统 | 边框类型 | 左边框样式 |
nSize | Pt_8 | 当前左边框宽度以点 八分测量 |
空间 | 平方公尺 | 间距偏移表用点测量 |
R | 字节 | 红色组件值 |
g级 | 字节 | 绿色分量值 |
b/ | 字节 | 蓝色组件值 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0odtext ("我们加左4点黑边框var表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!var表Pr =o表Style.get表Prvaro表=api.Criate表(3,3)oTable.SetWidth("percent", 100)!TablePr.Set表边排列32.05151set表Look(真真假)oTable.SetStyle(oTableStyle)!oDocument.Push(oTable)!builder.SaveFile("docx", "SetTableBorderLeft.docx")!builder.CloseFile();