BodyProperties.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 中的以下信息可能很有用。

指定文本框的中心。 它的基本工作方式是确定文本的最小可能“边界框”,然后相应地将边界框居中。 请注意,这与段落对齐方式不同,后者对齐文本的边界框中的文本。 此标志与所有不同类型的定位点兼容。 如果省略此属性,则隐含的值 0,即 off

此形状中的文本与 属性垂直居中 anchor ,水平居中与 anchorCtr 属性对齐。

<p:txBody>  
  <a:bodyPr anchor="ctr" anchorCtr="1" … />  
  …  
</p:txBody>  

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

适用于