GC.Spread.Sheets.Fill Namespace : FillDirection Enumeration |
Member | Description |
---|---|
down | Fills from the top to the bottom. |
left | Fills from the right to the left. |
right | Fills from the left to the right. |
up | Fills from the bottom to the top. |
var start = new GC.Spread.Sheets.Range(0, 2, 1, 1); activeSheet.setValue(0, 2, 5); var r3 = new GC.Spread.Sheets.Range(0, 2, 4, 1); activeSheet.fillAuto(start, r3, {fillType: GC.Spread.Sheets.Fill.FillType.auto, fillDirection:GC.Spread.Sheets.Fill.FillDirection.down, series: GC.Spread.Sheets.Fill.FillSeries.column});
activeSheet.setValue(0, 0, 5); var start = new GC.Spread.Sheets.Range(0, 0, 1, 1); var r3 = new GC.Spread.Sheets.Range(0, 0, 4, 1); activeSheet.fillAuto(start,r3, {fillType:GC.Spread.Sheets.Fill.FillType.auto, series:GC.Spread.Sheets.Fill.FillSeries.column, fillDirection:GC.Spread.Sheets.Fill.FillDirection.down});
Object
GC.Spread.Sheets.Fill.FillDirection