Package com.grapecity.documents.excel
Class CellPadding
java.lang.Object
com.grapecity.documents.excel.CellPadding
- All Implemented Interfaces:
ICellPadding
Gets or sets the cell padding.
-
Constructor Summary
ConstructorsConstructorDescriptionCellPadding(int all) Assign the four properties of cellPadding with the same valueCellPadding(int top, int right, int bottom, int left) Assign different values to the four properties of cellPadding -
Method Summary
-
Constructor Details
-
CellPadding
public CellPadding(int all) Assign the four properties of cellPadding with the same value- Parameters:
all-
-
CellPadding
public CellPadding(int top, int right, int bottom, int left) Assign different values to the four properties of cellPadding- Parameters:
top-right-bottom-left-
-
-
Method Details
-
getLeft
public int getLeft()get left cell padding.- Specified by:
getLeftin interfaceICellPadding
-
getRight
public int getRight()get right cell padding.- Specified by:
getRightin interfaceICellPadding
-
getTop
public int getTop()get top cell padding.- Specified by:
getTopin interfaceICellPadding
-
getBottom
public int getBottom()get bottom cell padding.- Specified by:
getBottomin interfaceICellPadding
-