IsWriteProtected
Check the worksheet's selected range whether has write protected column or not.
BOOL IsWriteProtected( int nBegin = 0, int nEnd = -1 )
TRUE if there is write protected column within the range between nBegin and nEnd. FALSE otherwise
EX1
//Check if there is write protected column. void Worksheet_IsWriteProtected_Ex1() { Worksheet wks = Project.ActiveLayer(); if(!wks) return; if(wks.IsWriteProtected()) printf("write protected column exist"); else printf("no write protected column"); }
Column::IsWriteProtected
origin.h