Поделиться через


TableProperties.LastColumn Property

Last Column.Represents the attribte in schema: lastCol

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

Syntax

'Declaration
<SchemaAttrAttribute(, "lastCol")> _
Public Property LastColumn As BooleanValue
    Get
    Set
'Usage
Dim instance As TableProperties
Dim value As BooleanValue

value = instance.LastColumn

instance.LastColumn = value
[SchemaAttrAttribute(, "lastCol")]
public BooleanValue LastColumn { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

Remarks

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

Enables or disables the last column formatting for a table style. Values of on, 1 or true will enable the last column formatting defined in the table style. The attribute will default to off if it is not specified.

Consider the following run:

<a:tblPr lastCol="1">
  <a:tableStyleId>{5940675A-B579-460E-94D1-
  54222C63F5DA}</a:tableStyleId>
</a:tblPr>

In this example, we can see the last column formatting is enabled for the table. When applied, the linked table style defines the formatting for the last column.

The possible values for this attribute are defined by the XML Schema boolean datatype.

See Also

Reference

TableProperties Class

TableProperties Members

DocumentFormat.OpenXml.Drawing Namespace