private TocClass LoadTocClass(Symbol symbol, SwatchMaker swatchMaker, string label, bool includeImage) { TocClass tocClass = LoadTocClass(symbol, swatchMaker, includeImage); tocClass.Label = label; return(tocClass); }
public ArcImsLegendClass(TocClass tocClass) { ImageIsTransparent = tocClass.ImageIsTransparent; Label = tocClass.Label; _tocClass = tocClass; }
private TocClass LoadTocClass(Symbol symbol, SwatchMaker swatchMaker, bool includeImage) { TocClass tocClass = new TocClass(); if (includeImage) { tocClass.Image = swatchMaker.GetSwatchBytes(symbol); } return(tocClass); }