ClearLabelsContent
Clear content of a label of the given type.
BOOL ClearLabelsContent( UINT nType, int nPos = -1, int nC1 = 0, int nC2 = -1, BOOL bColHeaders = TRUE )
TRUE if success, otherwise FALSE
EX1
//Clear the content of the comment label. void Worksheet_ClearLabelsContent_Ex1() { Worksheet wks = Project.ActiveLayer(); if ( !wks ) { out_str("No active worksheet"); return; } UINT nType = RCLT_COMMENT; BOOL bRet = wks.ClearLabelsContent(nType); printf("bRet = %d\n", bRet); return; }
origin.h