Spread.Sheets Documentation
direction Method
GC.Spread.Sheets.Outlines Namespace > Outline type : direction Method
The outline's (range group) direction.
Gets or sets the outline's (range group) direction.
Syntax
var instance = new GC.Spread.Sheets.Outlines.Outline(count);
var value; // Type: any
value = instance.direction(direction);
function direction( 
   direction : OutlineDirection
) : any;

Parameters

direction
The outline's (range group) direction.

Return Value

If no value is set, returns the outline's (range group) direction; otherwise, returns the outline.
Example
This example uses the getDirection method.This example uses the setDirection method.
activeSheet.suspendPaint();
activeSheet.rowOutlines.group(0,5);
activeSheet.rowOutlines.expand(0,false);
activeSheet.resumePaint();
alert(activeSheet.rowOutlines.direction());
activeSheet.suspendPaint();
activeSheet.rowOutlines.group(3,2);
activeSheet.columnOutlines.group(4,1);
activeSheet.rowOutlines.direction(GC.Spread.Sheets.Outlines.OutlineDirection.forward);
activeSheet.resumePaint();
See Also

Reference

Outline type