SpreadJS Documentation
textIndent Method
The cell text indent.
Gets or sets the text indent of the cell.
Syntax
var instance = new GcSpread.Sheets.Cell(sheet, row, col, sheetArea);
var returnValue; // Type: number
returnValue = instance.textIndent(value);
function textIndent( 
   value : number
) : number;

Parameters

value
The cell text indent.

Return Value

The cell text indent.
Example
This example uses the textIndent method.
activeSheet.getCell(1,1).textIndent(3);
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

Cell type
Setting Cell Alignment and Indentation

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.