Поделиться через


Rows.DistanceLeft Property (Word)

Returns or sets the distance (in points) between the document text and the left edge of the specified table. Read/write Single.

Syntax

expression .DistanceLeft

expression A variable that represents a Rows collection.

Remarks

This property doesn't have any effect if WrapAroundText is False.

Example

This example sets text to wrap around the first table in the active document and sets the distance for wrapped text to 20 points on all sides of the table.

With ActiveDocument.Tables(1).Rows 
 .WrapAroundText = True 
 .DistanceLeft = 20 
 .DistanceRight = 20 
 .DistanceTop = 20 
 .DistanceBottom = 20 
End With

See Also

Concepts

Rows Collection Object

Rows Object Members