SpreadJS Documentation
font Method
The cell font.
Gets or sets the font for the cell, such as "normal normal normal 20px/normal Arial".
Syntax
var instance = new GcSpread.Sheets.Cell(sheet, row, col, sheetArea);
var returnValue; // Type: string
returnValue = instance.font(value);
function font( 
   value : string
) : string;

Parameters

value
The cell font.

Return Value

The cell font.
Example
This example sets the cell font.
activeSheet.getCell(1,1).font("8pt Arial");
See Also

Reference

Cell type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.