SetForeColor(filterResult, scaleZone, color)
Sets the foreground color of image features of the specified type for which applying the filter results in filterResult. The result of applying the filter is defined by constants given in the "Results of Applying Filter Conditions" table. The scaleZone argument specifies the scale zone in the theme for which the color is set. If the scaleZone argument is not Null, then the filterResult argument is ignored. The color argument specifies the color as an integer that is its RGB representation in the format 0x00BBGGRR. If the color argument equals -1, the foreground color is cancelled. If the Layer object (the feature type owner) belongs to the Theme::Layers collection, the foreground color influences only the style of displaying image features of the specified type of the theme (the layer owner). If the Layer object (the feature type owner) does not belong to the Theme::Layers collection, only the gdbFilterResultIndifferent constant can be used as the filterResult argument and the scaleZone argument must be Null. This method can be applied to feature types of spatial category image (the FeatureType::SpatialCategory property returns the gdbSpatialCategoryImage constant). If the feature type belongs to a work layer, only the gdbFilterResultIndifferent constant can be used as the filterResult argument.