TableProperties.LastColumn 属性

定义

最后一列

表示架构中的以下属性:lastCol

[DocumentFormat.OpenXml.SchemaAttr(0, "lastCol")]
public DocumentFormat.OpenXml.BooleanValue LastColumn { get; set; }
public DocumentFormat.OpenXml.BooleanValue LastColumn { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "lastCol")]
public DocumentFormat.OpenXml.BooleanValue? LastColumn { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("lastCol")]
public DocumentFormat.OpenXml.BooleanValue? LastColumn { get; set; }
public DocumentFormat.OpenXml.BooleanValue? LastColumn { get; set; }
member this.LastColumn : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "lastCol")>]
member this.LastColumn : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("lastCol")>]
member this.LastColumn : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property LastColumn As BooleanValue

属性值

返回 BooleanValue

属性

注解

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

启用或禁用 的最后一列 table style格式。 或 1true 的值on将启用表格样式中定义的最后一列格式。 如果未指定属性,则属性将默认 off 为 。

请考虑以下运行:

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

在此示例中,我们可以看到为表启用了最后一个列格式设置。 应用后,链接表样式定义最后一列的格式。

此属性的可能值由 XML 架构 boolean 数据类型定义。

适用于