Share via


Table.TopPadding Property

Returns or sets the amount of space (in points) to add above the contents of a single cell or all the cells in a table.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property TopPadding As Single
    Get
    Set
'Usage
Dim instance As Table
Dim value As Single

value = instance.TopPadding

instance.TopPadding = value
float TopPadding { get; set; }

Property Value

Type: System.Single

Remarks

The setting of the TopPadding property for a single cell overrides the setting of the TopPadding property for the entire table.

See Also

Reference

Table Interface

Table Members

Microsoft.Office.Interop.Word Namespace