Exemplo n.º 1
0
        private void WriteUniversalGeometryRenderer(UniversalGeometryRenderer renderer)
        {
            for (int i = 0; i < renderer.LegendItemCount; i++)
            {
                ILegendItem lItem = renderer.LegendItem(i);

                WriteSymbol(lItem as ISymbol);
            }
        }
        public object PropertyPanel(IFeatureRenderer renderer, IFeatureLayer layer)
        {
            InitializeComponent();

            _renderer = renderer as UniversalGeometryRenderer;
            _layer    = layer;

            if (_renderer != null)
            {
                chkUsePointSymbol.Checked  = _renderer.UsePointSymbol;
                chkUseLineSymbol.Checked   = _renderer.UseLineSymbol;
                chkUsePolyonSymbol.Checked = _renderer.UsePolygonSymbol;
            }

            return(panel1);
        }