Freigeben über


TableCellProperties.TopMargin-Eigenschaft

Top Margin.Represents the attribte in schema: marT

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

Syntax

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

value = instance.TopMargin

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

Eigenschaftswert

Typ: DocumentFormat.OpenXml.Int32Value
Returns Int32Value.

Hinweise

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.

Siehe auch

Referenz

TableCellProperties Klasse

TableCellProperties-Member

DocumentFormat.OpenXml.Drawing-Namespace