HideLabelByType
Hides labels of the given type (if the label of that type is shown).
BOOL HideLabelByType( UINT nType, BOOL bUndo = FALSE, BOOL bColheaders = true )
TRUE on success, FALSE on failure.
EX1
// Hide each label type void Worksheet_HideLabelByType_Ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { for( int ii = 0 ; ii <= 10 ; ii++ ) wks.HideLabelByType(ii, TRUE); } }
origin.h