2.1.13 Import Export

Functions

Name Brief Example
AscImpReadFileStruct Scan and analyse the given file to gather information for ascii import into worksheets. This function will look read the file to look for consistent structure by trying different separators that will yield the largest number of columns. Examples
export_Matrix_to_image export matrix to an image file Examples
export_ascii_data Export specified data ranges from worksheet to an ASCII file. Examples
export_matrix_ascii_data Export data from matrix to an ASCII file. Examples
export_page Export a page to an image using settings from a tree node. Examples
export_page_to_image Export a page to an image using current ini settings or prompt user with export options Examples
get_excel_sheet_names Get list of sheet names from Excel file Examples
GetSPCLog Get SPC log information from worksheet Examples
GetSPCMainHeader Get SPC main header information from worksheet Examples
GetSPCSubHeader Get SPC subheader information from worksheet. This function requires the subheader counter from the main header structure. Therefore, the OSPCMAINHeader information has to be retrieved successfully first to be able to use this function. Examples
image_import import an image and get its handle Examples
image_import_to_active_graph_layer import an image to active graph layer Examples
image_import_to_matrix Import an image file into a matrix Examples
import_file This function is called from the OC code and is for user import file with the specified filter. Examples
import_files This function is called from the OC code and is for user import mutiple files with the specified filter. Examples
is_applicable To check filter tree if suitable for current data file. Examples
load_import_filter This function is used to load filter from file to tree. Examples
og_get_excel_sheet_names Read Excel file to get list of sheet names Examples
okoc_binary_mat_export Export a matrix object to a binary file without header. Data in the matrix will be written out in exact same way as internal storage of row-major order Examples
okoc_binary_mat_import Load a binary file that are in the form of a 2d array into a matrix object. Examples
tree_get_page_image_export_settings Get the image export settings from a page. Examples
tree_read_image_export_settings Read the export settings, for a specified format, into a tree node. Examples
tree_set_page_image_export_settings Set the image export settings into a page. Examples
tree_write_image_export_settings Write the export settings, for a specified format, into a tree node. Examples