示例#1
0
            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);
            }
示例#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);
            }