Share via


Columns.Separator Property

Draw Line Between Columns.Represents the attribte in schema: w:sep

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "sep")> _
Public Property Separator As OnOffValue
    Get
    Set
'Usage
Dim instance As Columns
Dim value As OnOffValue

value = instance.Separator

instance.Separator = value
[SchemaAttrAttribute(, "sep")]
public OnOffValue Separator { get; set; }

Property Value

Type: DocumentFormat.OpenXml.OnOffValue
Returns EnumValue<T>.

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.

See Also

Reference

Columns Class

Columns Members

DocumentFormat.OpenXml.Wordprocessing Namespace