Set column label value from rows value
bool setLabelValueFromRows( Worksheet & wks, int nShortName = -1, int nLongName = -1, int nUnit = -1, int nCommentFrom = -1, bool bRemoveRows = true, bool bShowLabel = true, int nCommentTo = -1, int nMainheaderLines = 0 )
True for success; otherwise false.
Ex1
void setLabelValueFromRows_Ex() { //Make sure the worksheet is active in current project Worksheet wks = Project.ActiveLayer(); if(setLabelValueFromRows(wks,0,1,2,3,false,true,5,0)) printf("Set Success!"); }
origin.h