private void CreateImageFromGeoControl() { var chartControl = _map; var skChart = new SKGeoMap(chartControl) { Width = 900, Height = 600, }; skChart.SaveImage("MapImageFromControl.png"); }
private void CreateImageFromGeoControl() { var chartControl = (GeoMap)FindByName("geoChart"); var skChart = new SKGeoMap(chartControl) { Width = 900, Height = 600, }; skChart.SaveImage(Path.Combine(_folderPath, "MapImageFromControl.png")); }
private void CreateImageFromGeoControl() { var chartControl = this.FindControl <GeoMap>("geoChart"); var skChart = new SKGeoMap(chartControl) { Width = 900, Height = 600, }; skChart.SaveImage("MapImageFromControl.png"); }
private void CreateImageFromGeoControl() { var chartControl = (GeoMap)FindByName("geoChart"); var skChart = new SKGeoMap(chartControl) { Width = 900, Height = 600, }; skChart.SaveImage( Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "MapImageFromControl.png")); }