SetMask
Set data in the range maksed/unmasked.
BOOL SetMask( BOOL bMask = TRUE, BOOL bUndo = FALSE )
EX1
//Set the first column of the worksheet masked. void DataRange_SetMask_Ex1() { Worksheet wks; wks.Create("ORIGIN"); while (wks.DeleteCol(0)); wks.AddCol("A"); wks.AddCol("B"); double rr; for(int j = 0; j < 2; j++) { for (int i = 0; i < 10; i++) { rr=rnd(); wks.SetCell(i, j, rr); } } DataRange dr; dr.Add("Range1", wks, 0, 0, -1, 0); dr.SetMask(); }
origin.h