TableCellProperties.AnchorCenter Property

Definition

Anchor Center

Represents the following attribute in the schema: 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

Property Value

Returns BooleanValue.

Attributes

Remarks

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

When this attribute is on, 1 or true, it modifies the anchor attribute. This attribute will center align the text box itself, which will allow for text to be left-aligned along the center of the cell for example.

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

Applies to