共用方式為


TableCellProperties.LeftMargin Property

Definition

Left Margin

Represents the following attribute in the schema: marL

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

Property Value

Returns Int32Value.

Attributes

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.

Applies to