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)

Usage

Dim table1 As Table

Dim returnValue As Single
returnValue = table1.TopPadding

Dim sampleValue As Single
table1.TopPadding = sampleValue

Syntax

Property TopPadding() As Single
float TopPadding {get; set;}
property Single TopPadding{
    Single get();
    Void set(Single);
}
public float get_TopPadding();
public void set_TopPadding(float);
function get TopPadding() : float;
function set TopPadding(float);

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Table Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Table Members