TableCellProperties.TopMargin 属性

定义

上边距

表示架构中的以下属性: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

属性值

返回 Int32Value

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

此属性指定单元格的上边距。 此属性中指定的值是与单元格顶部偏移的距离(以 ETU 为单位)。

请考虑下面的示例:

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

在此示例中,我们为单元格顶部的边距指定了一个值。

此属性的可能值由 ST_Coordinate32 简单类型定义。

适用于