C_SaveSpreadsheet

Call C_SaveSpreadsheet to save a spreadsheet containing one of the output types listed below for the SpreadsheetType parameter.

void C_SaveSpreadsheet(

TOrcFxAPIHandle ObjectHandle,

int SpreadsheetType,

void *lpParameters,

LPCTSTR lpFileName,

int *lpStatus

);

Parameters

ObjectHandle (IN)

The handle of the object.

SpreadsheetType (IN)

Identifies the type of spreadsheet to be saved. This can be one of the following constants defined in OrcFxAPI.h:

lpParameters (IN)

Depending on the spreadsheet type this parameter should be:

lpFileName (IN)

Points to a null-terminated string containing the name of the file to be saved. The file can be an Excel spreadsheet (.xlsx or .xls), a tab delimited file (.txt) or a comma separated file (.csv). The decision is taken based on the file extension that you specify.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

Unicode and ANSI

The Unicode function name is C_SaveSpreadsheetW and the ANSI function name is C_SaveSpreadsheetA.

See also

C_SaveSpreadsheetMem.