Reset
Reset Matrix or Worksheet
BOOL Reset( BOOL bReduceSize = TRUE )
TRUE if reset successful, FALSE otherwise
EX1
//Reset the active matrix layer. int Datasheet_Reset_Ex1() { MatrixLayer ml = Project.ActiveLayer(); if(!ml) return -1; return (int) ml.Reset(); }
EX2
//Reset the worksheet. int Datasheet_Reset_Ex2() { Layer lay = Project.ActiveLayer(); if(!lay) return -1; Worksheet wks(lay); return (int)wks.Reset(true); }
Reset Matrix or Worksheet.
Existing data will be deleted.
Datasheet::ClearData
origin.h