[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CellPadding

Class CellPadding

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Gets or sets the cell padding.

public class CellPadding : ICellPadding
Inheritance
object
CellPadding
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

CellPadding(int, int, int, int)

Assign different values to the four properties of cellPadding.

public CellPadding(int top, int right, int bottom, int left)

Parameters

top int

The integer value representing the top padding.

right int

The integer value representing the right padding.

bottom int

The integer value representing the bottom padding.

left int

The integer value representing the left padding.

CellPadding(int)

Assign the four properties of cellPadding with the same value

public CellPadding(int all)

Parameters

all int

The padding value for all sides.

Properties

Bottom

get bottom cell padding.

public int Bottom { get; }

Property Value

int

Left

get left cell padding.

public int Left { get; }

Property Value

int

Right

get right cell padding.

public int Right { get; }

Property Value

int

Top

get top cell padding.

public int Top { get; }

Property Value

int