public object Clone(CloneOptions options)
            {
                if (_renderer == null)
                {
                    return(null);
                }
                IFeatureRenderer renderer = _renderer.Clone(options) as IFeatureRenderer;

                if (renderer == null)
                {
                    return(null);
                }

                ScaleRenderer scaleRenderer = new ScaleRenderer(renderer);

                scaleRenderer._minScale = _minScale;
                scaleRenderer._maxScale = _maxScale;

                return(scaleRenderer);
            }
Exemple #2
0
            public object Clone(IDisplay display)
            {
                if (_renderer == null)
                {
                    return(null);
                }
                IFeatureRenderer renderer = _renderer.Clone(display) as IFeatureRenderer;

                if (renderer == null)
                {
                    return(null);
                }

                ScaleRenderer scaleRenderer = new ScaleRenderer(renderer);

                scaleRenderer._minScale = _minScale;
                scaleRenderer._maxScale = _maxScale;

                return(scaleRenderer);
            }