Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To save to a delimited file

Call the SSExportToTextFile function to export an ANSI text file or the SSExportToTextFileU function to export a Unicode text file, and set the parameters as follows:

  1. If you have multiple sheets, set SSSetSheet first.
  2. Set the pcszFileName parameter to a valid path and file name.
    If you do not specify an extension, Spread will add .TXT.
  3. Set the pcszCellDelim, pcszColDelim, and pcszRowDelim parameters to the text to use as the cell, column, and row delimiters, respectively.
    For more information about working with delimiters in text files, see the SSExportToTextFile function or the SSExportToTextFileU function.
  4. Set the lFlags parameter to specify whether to overwrite or append formatted or unformatted data, and whether to export column headers, row headers, or both.
  5. Set the pcszLogFile parameter to the path and file name of the log file you want the control to create.
    If you do not want to generate a log file, set the LogFile parameter to "".
Copyright © GrapeCity, inc. All rights reserved.