2.2.4.12 Datasheet

Contents

Name

Datasheet

Remark

The Datasheet class provides methods and properties common to Origin worksheet and matrix layers. The Datasheet class is derived from the Layer and OriginObject classes from which it inherits methods and properties.

Hierarchy

Examples

Header to Include

origin.h

Reference

Members

Name Brief Example
Attach worksheet object to a real Origin worksheet
Get the value at the location (nRow, nCol) in the worksheet
Clear worksheet of data and reduce number of rows (or optionally NOT reduce)
Create a worksheet from the special template
Construct an unnattached Datasheet
Find column in worksheet by searching for column long name.

Also applies to MatrixObject in a MatrixLayer.

Find first column of last empty range in a worksheet or the first empty MatrixObject in a MatrixLayer
Finds UIDs of all objects that are linked to the worksheet
Find the table object in a graph layer that is linked to this worksheet
Get the number of columns in a Datasheet or Matrix.
Get the number of rows in a worksheet or matrix.
Find the report tree in the worksheet.
Import ASCII file into worksheet by using a ASCIMP struct that will define how to import the data
Import ASCII file. This is an improvement(speed etc.) to ImportASCII.
Import an Excel sheet by replacing existing data
Import SPC file into worksheet
Construct range string of worksheet or matrix by the specified range from parameters
Move columns in a worksheet or matrixsheet
Reset Matrix or Worksheet
Set the numeric value of a cell in the worksheet
Set Missing Value to each Column or MatrixObjects in the specified range

This function will not change internal data type, should just set missing value if nType matchs and immediately return if not

Set the number of rows in a Datasheet.
Report generation function.

Automatically generate a results worksheet from an Origin C tree created using report generation macros found in the system header file Report.h.

Swap two columns in Worksheet or Matrixsheet
Get the value at the location (nRow, nCol) in the worksheet as a string
Transpose data in a sheet

Property

Name Brief Example
Read-only display string "[BookName]SheetName"