GetFont(filterResult, scaleZone)

Returns a font of text 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 font is returned. If the scaleZone argument is not Null, then the filterResult argument is ignored. Returned value is the Font object. If returned value equals Null, the font has not been set. If the Layer object (the feature type owner) belongs to the Theme::Layers collection, returned font reflects the style of displaying text 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 text (the FeatureType::SpatialCategory property returns the gdbSpatialCategoryText constant). If the feature type belongs to a work layer, only the gdbFilterResultIndifferent constant can be used as the filterResult argument.