Exemple #1
0
 public void SaveSymbolToFile(string fileName, Symbol symbol)
 {
     TextWriter tw = new StreamWriter(fileName, false);
     tw.Write(symbol.ToString());
     tw.Close();
 }
Exemple #2
0
 public void ExportSymbolToBitmap(string fileName, Symbol symbol, ImageFormat imageFormat)
 {
     if (this.IsBitmap(symbol.ToString()))
     {
         symbol.GetZoomedImage(1, false).Save(fileName, imageFormat);
     }
     else
     {
         symbol.GetVectorRendering(DefaultColorTable).Save(fileName, imageFormat);
     }
 }