Udostępnij za pośrednictwem


Table.TopPadding Property (Word)

Returns or sets the amount of space (in points) to add above the contents of all the cells in a table. Read/write Single.

Syntax

expression .TopPadding

expression Required. A variable that represents a Table object.

Remarks

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

Example

This example sets the top padding for the first table in the active document to 40 pixels.

ActiveDocument.Tables(1).TopPadding = _ 
 PixelsToPoints(40, True)

See Also

Concepts

Table Object

Table Object Members