GetStringArray
Get the contents (from row nRow1 to nRow2) from a Column regardless of its data type.
BOOL GetStringArray( vector<string> & as, int nRow1 = 0, int nRow2 = -1, BOOL bFullPrecision = true, BOOL bMissingAsBlank = true, DWORD dwCntrl = 0 )
Returns TRUE on successful exit and FALSE on failure.
EX1
void Column_GetStringArray_Ex1() { Worksheet wks=Project.ActiveLayer(); if (wks) { Column cc(wks, 0); StringArray sa1, sa2; bool bRet = wks.Columns(0).GetStringArray(sa1, 2, 5); bRet = wks.Columns(1).GetStringArray(sa2); bRet = wks.Columns(1).PutStringArray(sa1, 3); bRet = wks.Columns(2).PutStringArray(sa2); } }
Column::PutStringArray
origin.h