Important: The information in this document is obsolete and should not be used for new development.
GetSuiteLabel
You can use theGetSuiteLabelfunction to get the default label setting associated with an icon suite.
FUNCTION GetSuiteLabel (theSuite: Handle): Integer;
theSuite- A handle to an icon suite.
DESCRIPTION
TheGetSuiteLabelfunction returns, as its function result, the default label setting associated with the specified icon suite. The default label setting is an integer from 1 to 7 that specifies which of the label colors shown in the Finder's Label menu is applied to icons of that suite when your application displays them.GetSuiteLabelreturns 0 if the suite doesn't have a label.You can override the default label setting for a suite by specifying a label in the
transformparameter of thePlotIconSuitefunction.SEE ALSO
To get information about the color and string for a specific label, you can use theGetLabelfunction, which is described on page 5-41.