Share via


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. Read/write Single.

expression.TopPadding

expression Required. An expression that returns one of the objects in the Applies To list.

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)

Applies to | Cell Object | ConditionalStyle Object | Table Object | TableStyle Object

See Also | BottomPadding Property | LeftPadding Property | RightPadding Property