Cell.LeftPadding Property 

Returns or sets the amount of space (in points) to add to the left of the contents of a single cell.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim cell1 As Cell

Dim returnValue As Single
returnValue = cell1.LeftPadding

Dim sampleValue As Single
cell1.LeftPadding = sampleValue

Syntax

Property LeftPadding() As Single
float LeftPadding {get; set;}
property Single LeftPadding{
    Single get();
    Void set(Single);
}
public float get_LeftPadding();
public void set_LeftPadding(float);
function get LeftPadding() : float;
function set LeftPadding(float);

Remarks

The setting of the LeftPadding property for a single cell overrides the setting of the LeftPadding 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

Cell Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Cell Members