Spread.Sheets Documentation
CopyPasteHeaderOptions Field
GC.Spread Namespace > Sheets type : CopyPasteHeaderOptions Field
Specifies which headers are included when data is copied to or pasted.
Syntax
var value; // Type: CopyPasteHeaderOptions
value = GC.Spread.Sheets.CopyPasteHeaderOptions;
var CopyPasteHeaderOptions : CopyPasteHeaderOptions;
Example
//This example allows you to copy and paste headers.
spread.options.copyPasteHeaderOptions = GC.Spread.Sheets.CopyPasteHeaderOptions.allHeaders;
activeSheet.setRowCount(2,GC.Spread.Sheets.SheetArea.colHeader);
activeSheet.setColumnCount(2,GC.Spread.Sheets.SheetArea.rowHeader);
activeSheet.setValue(0, 2,"Column",GC.Spread.Sheets.SheetArea.colHeader);
activeSheet.setValue(1, 0,"Row",GC.Spread.Sheets.SheetArea.rowHeader);
See Also

Reference

Sheets type