So just insert a list of names separated with spaces. Got it.
In this case, they're intdepenent states, so I probably need to add a method to generate that list each time I need to update it.
function GetECNames : string;
begin
. . .
end;
img.ElementClassNames := GetECNames;