Пример #1
0
        private TocClass LoadTocClass(Symbol symbol, SwatchMaker swatchMaker, string label, bool includeImage)
        {
            TocClass tocClass = LoadTocClass(symbol, swatchMaker, includeImage);

            tocClass.Label = label;
            return(tocClass);
        }
Пример #2
0
        public ArcImsLegendClass(TocClass tocClass)
        {
            ImageIsTransparent = tocClass.ImageIsTransparent;
            Label = tocClass.Label;

            _tocClass = tocClass;
        }
Пример #3
0
        private TocClass LoadTocClass(Symbol symbol, SwatchMaker swatchMaker, bool includeImage)
        {
            TocClass tocClass = new TocClass();

            if (includeImage)
            {
                tocClass.Image = swatchMaker.GetSwatchBytes(symbol);
            }

            return(tocClass);
        }