Spread.Sheets Documentation > Developer's Guide > Customizing the Appearance > Setting Cell Padding and Label Styles |
You can set cell padding and other style options for a watermark. You can set styles such as font, forecolor, alignment, and visibility.
Use cellPadding to set cell padding and style options.
This example adds watermarks to cells and sets the padding and other style options.
JavaScript |
Copy Code
|
---|---|
var type = new GC.Spread.Sheets.Style(); var combo = new GC.Spread.Sheets.CellTypes.ComboBox(); |