Columns.Separator 属性

定义

在列之间绘制线条

表示架构中的以下属性:w:sep

[DocumentFormat.OpenXml.SchemaAttr(23, "sep")]
public DocumentFormat.OpenXml.OnOffValue Separator { get; set; }
public DocumentFormat.OpenXml.OnOffValue Separator { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "sep")]
public DocumentFormat.OpenXml.OnOffValue? Separator { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:sep")]
public DocumentFormat.OpenXml.OnOffValue? Separator { get; set; }
public DocumentFormat.OpenXml.OnOffValue? Separator { get; set; }
member this.Separator : DocumentFormat.OpenXml.OnOffValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "sep")>]
member this.Separator : DocumentFormat.OpenXml.OnOffValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:sep")>]
member this.Separator : DocumentFormat.OpenXml.OnOffValue with get, set
Public Property Separator As OnOffValue

属性值

返回 EnumValue<T>

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定是否应在本节中的每个文本列之间绘制垂直线。

如果设置为 trueon1,则应在本部分中每个列之间的间距中心绘制一条垂直线。

请考虑一个包含列信息定义的部分,如下所示:

<w:cols w:sep="1">  
  …  
</w:cols>  

这组列 sep 的值设置为 1。 因此,应有一条垂直线分隔本部分中的每一列。

此属性的可能值由 ST_OnOff 简单类型定义。

适用于