workbook_new_opt

@brief Create a new workbook object, and set the workbook options.

@param filename The name of the new Excel file to create. @param options Workbook options.

@return A lxw_workbook instance.

This method is the same as the workbook_new() constructor but allows additional options to be set.

@code lxw_workbook_options options = {.constant_memory = 1};

lxw_workbook *workbook = workbook_new_opt("filename.xlsx", &options); @endcode

Note, in this mode a row of data is written and then discarded when a cell in a new row is added via one of the worksheet worksheet_write_*() methods. Therefore, once this mode is active, data should be written in sequential row order.

See @ref working_with_memory for more details.

extern (C)
workbook_new_opt

Meta