Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To save a portion of the sheet to an XML file

Call the SSExportRangeToXML function and set the parameters as follows:

  1. If you have multiple sheets, set SSSetSheet first.
  2. Set the lCol, lRow, lCol2, and lRow2 parameters to specify the cell, row, column, or block of cells.
    Using Column and Row Properties explains valid values for the lCol, lRow, lCol2, and lRow2 parameters.
  3. Set the lpszFileName parameter to a valid path and file name.
    If you do not specify an extension, Spread will add .XML.
  4. Set the pszRoot parameter to specify the root element to use in the XML data.
  5. Set the pszCollection parameter to specify the collection element to use in the XML data.
  6. Set the lFlags parameter to specify whether to save formatted or unformatted data.
  7. Set the lpszLogFile 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.