TableCellProperties.AnchorCenter 属性

定义

定位点中心

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

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

属性值

返回 BooleanValue

属性

注解

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

当此属性为 on或 时,true1它会修改定位点属性。 此属性将居中对齐文本框本身,这将允许文本沿单元格中心左对齐例如。

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

适用于