Exemplo n.º 1
0
 public Image GetImageFromKmz(String fileName)
 {
     if (kmzFile != null)
     {
         byte[]       bytes = kmzFile.ReadFile(fileName);
         MemoryStream ms    = new MemoryStream(bytes);
         Image        image = Image.FromStream(ms);
         return(image);
     }
     return(Properties.Resources.red_pushpin);
 }