Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example exports a range of data to a file. Create a CSS file for formatting using the OCX method example.

C++

HWND hSpread;

hSpread = ::GetDlgItem(m_hWnd, IDC_SPREAD);

SSSetData(hSpread,1,1,_T("testing"));

SSSetData(hSpread,1,2,_T("word"));

SSExportRangeToHTMLEx(hSpread,1,1,5,5,"C:\\zipfile\\sp8DLL\\test.html",FALSE,"","Testing","C:\\zipfile\\sp8DLL\\test.css", "sample2", "left", "red","blue");

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.