Some tools to apply the common rules of DGN about overrides for symbologies (color, weight, style). Initially, it could operate with:
- kColorByLevel, etc - if set, a property should be taken from level (default properties)
- 'overrideByLevel' flag of views (OdDgView) - if set and an appropriate flag of the level is set (for example, 'override colors'), then this property is taken from level (overrided properties)
Notes:
- All methods return false if a property can not be evaluated
- The level could be zero, that leads to 'can not be evaluated' if the level is required
- If this context does not have 'view' property initialized, its features are not used (of course)
- Sometimes Level Override should be ignored. For instance, If Text has background it should use a native background color value not override. Don't apply override in this case. 'bAllowForLevelOverrides' flag should handle just such kind of cases.