public void writeSVGLegends() { //EXPORTING SVG legends (building dummy legends, TODO: read from legends-array and implement functionality to build them) Scientrace.WavelengthLegendBuilder legend = new Scientrace.WavelengthLegendBuilder(); //Previous functionality: write legens in subdir. Now all in output dir. //System.IO.DirectoryInfo outdir = this.checkOrCreateSubdir(this.exportpath, this.config_id); System.IO.DirectoryInfo outdir = new System.IO.DirectoryInfo(this.exportpath); if (outdir != null) { legend.writeSVGFile(outdir); } }
public void writeSVGLegends() { //EXPORTING SVG legends (building dummy legends, TODO: read from legends-array and implement functionality to build them) Scientrace.WavelengthLegendBuilder legend = new Scientrace.WavelengthLegendBuilder(); //Previous functionality: write legens in subdir. Now all in output dir. //System.IO.DirectoryInfo outdir = this.checkOrCreateSubdir(this.exportpath, this.config_id); System.IO.DirectoryInfo outdir = new System.IO.DirectoryInfo(this.exportpath); if (outdir != null) { legend.writeSVGFile(outdir); } }