Share via


Columns.Space Property

Definition

Spacing Between Equal Width Columns

Represents the following attribute in the schema: w:space

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

Property Value

Returns UInt64Value.

Attributes

Remarks

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

Specifies the spacing between the text columns in the current section.

If all the columns are not of equal width (the equalWidth attribute is not set), then this element is ignored, and the spacing after columns is defined by the space attribute on each of the col elements defined under the cols element.

Consider a section with column information defined as follows:

<w:cols w:num="3" w:space="1440"  
  w:equalWidth="1">  
  …  
</w:cols>  

This set of columns has an equalWidth value set to 1. Therefore, there are three equally sized columns, each with 1 inch of space after (space value of 1440 twentieths of a point).

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

Applies to