public bool SaveToFile(string path) { try { slObj.SaveToFile(path, bmp); } catch (Exception) { return(false); } finally { UpdateCanvas(); } return(true); }