Spread.Sheets Documentation
textIndent Method
GC.Spread.Sheets Namespace > CellRange type : textIndent Method
The cell text indent.
Gets or sets the text indent of the cell.
Syntax
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
var returnValue; // Type: any
returnValue = instance.textIndent(value);
function textIndent( 
   value : number
) : any;

Parameters

value
The cell text indent.

Return Value

If no value is set, returns the cell text indent; otherwise, returns the cell.
Example
The following examples use the textIndent method.
activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).textIndent(1);
activeSheet.getCell(1,1).textIndent(3);
activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).textIndent(1);
Remarks
The text indent indicates the number of units of indentation for text in a cell. It is an integer value, where an increment of 1 represents 8 pixels.
See Also

Reference

CellRange type
Setting Cell Alignment and Indentation