<< Return to Main Index

< Return to Class Index

CGXExcelReader::SetReadMode

virtual int SetReadMode(int eMode) = 0;

eMode

The read mode to be used

Remarks

enum gxExReadMode
{
   gxExReadAll = 0x01,
   gxExReadNum = 0x02,
   gxExReadIndex = 0x04,
};

The read mode can be any of the above values. GxExReadAll will read all the data that is available in the stream. GxExReadNum will read all the data but will do a seek (and not an actual read). This data will be used to get the correct count of tabs in the Excel workbook that is being read in. gxExReadIndex means that only the tab index specified with be read in. This index can be specified with a call to SetReadIndex prior to making this call.

CGXExcelReader

Class Overview | Class Members