GetFillStyleEx(filterResult, scaleZone, styleKind)

Returns a fill style of area 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 fill style is returned. If the scaleZone argument is not Null, then the filterResult argument is ignored. Returned value is the FillStyle object. If returned value equals Null, the fill style has not been set. If the Layer object (the feature type owner) belongs to the Theme::Layers collection, returned fill style reflects the style of displaying 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 area (the FeatureType::SpatialCategory property returns the gdbSpatialCategoryArea constant). If the feature type belongs to a work layer, only the gdbFilterResultIndifferent constant can be used as the filterResult argument. The styleKind argument specifies the way of getting the style – own style, inherited style, or actual style. The way of getting the style is defined by one of the constants given in the "Ways of Getting Styles" table.