Condividi tramite


TableCellProperties.LeftMargin Property

Left Margin.Represents the attribte in schema: marL

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "marL")> _
Public Property LeftMargin As Int32Value
    Get
    Set
'Usage
Dim instance As TableCellProperties
Dim value As Int32Value

value = instance.LeftMargin

instance.LeftMargin = value
[SchemaAttrAttribute(, "marL")]
public Int32Value LeftMargin { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Int32Value
Returns Int32Value.

Remarks

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

This attribute specifies the left margin of the cell. The value specified in this attribute is the distance, in EMUs, to offset from the left of the cell.

Consider the following example:

<a:tcPr marL="45720" anchor="ctr">
…
</a:tcPr>

In this example, we have specified a value for the margin on the left of the cell.

The possible values for this attribute are defined by the ST_Coordinate32 simple type.

See Also

Reference

TableCellProperties Class

TableCellProperties Members

DocumentFormat.OpenXml.Drawing Namespace