Beispiel #1
0
 internal static void SaveLabel(string v,
                                IMAGE_LABEL_INFO label,
                                double w,
                                double h)
 {
     try
     {
         System.IO.File.WriteAllText(v, label.GenerateFile(w, h));
     }
     catch (Exception e)
     {
         Console.Error.WriteLine(e.Message + e.StackTrace);
     }
 }
Beispiel #2
0
 private void SaveLabel(string v)
 {
     System.IO.File.WriteAllText(v, label.GenerateFile(img.Width, img.Height));
 }