다음을 통해 공유


TableCellProperties.TopMargin Property

Definition

Top Margin

Represents the following attribute in the schema: marT

[DocumentFormat.OpenXml.SchemaAttr(0, "marT")]
public DocumentFormat.OpenXml.Int32Value TopMargin { get; set; }
public DocumentFormat.OpenXml.Int32Value TopMargin { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "marT")]
public DocumentFormat.OpenXml.Int32Value? TopMargin { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("marT")]
public DocumentFormat.OpenXml.Int32Value? TopMargin { get; set; }
public DocumentFormat.OpenXml.Int32Value? TopMargin { get; set; }
member this.TopMargin : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "marT")>]
member this.TopMargin : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("marT")>]
member this.TopMargin : DocumentFormat.OpenXml.Int32Value with get, set
Public Property TopMargin 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 top margin of the cell. The value specified in this attribute is the distance, in EMUs, to offset from the top of the cell.

Consider the following example:

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

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

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

Applies to