다음을 통해 공유


Columns.Separator Property

Definition

Draw Line Between Columns

Represents the following attribute in the schema: 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

Property Value

Returns EnumValue<T>.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies whether a vertical line shall be drawn between each of the text columns in this section.

If set to true, on, or 1, then a vertical line shall be drawn in the center of the spacing between each column in this section.

Consider a section with column information defined as follows:

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

This set of columns has a sep value set to 1. Therefore, there shall be a vertical line separating each column in this section.

The possible values for this attribute are defined by the ST_OnOff simple type.

Applies to