SetNotEqualColumns

SetNotEqualColumns(aWidths, aSpaces)

指定当前段所有列有不同宽度列数等同width数组长度spaces数组长度MUSTBE等同

参数:

名称 类型 描述性
awidths 数组

数组宽度值以点的20s测量(1/1440英吋)。

aspaces 数组

列间距离数组测量 20s点

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0varosections=ODocument.GetfinalsectionsetnotEqualcolumns([1440,2880,4320],[720,480])ocept.adText)odtext ("第一列宽1英寸(1440点20s)oParagraph.AddColumnBreak()!odText ("此文本从列#2启动)oclipse.adText)odText段(“列与列#1之间的距离为半英吋(720分20分oParagraph.AddColumnBreak()!ocept.adText)odtext ("本列宽3英寸宽433220)ocept.adTextbuilder.SaveFile("docx", "SetNotEqualColumns.docx")!builder.CloseFile();

结果文档