TableCellProperties.AnchorCenter Property
Anchor Center.Represents the attribte in schema: anchorCtr
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "anchorCtr")> _
Public Property AnchorCenter As BooleanValue
Get
Set
'Usage
Dim instance As TableCellProperties
Dim value As BooleanValue
value = instance.AnchorCenter
instance.AnchorCenter = value
[SchemaAttrAttribute(, "anchorCtr")]
public BooleanValue AnchorCenter { 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.
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.