public void Save(string path, int width = 800, int height = 600, bool isDocument = true) { var p = path.ToLower(); if (p.EndsWith(".png")) { GridViewExporter.ExportToPng(this, path, width, height); } else { GridViewExporter.ExportToSvg(this, path, width, height, isDocument); } }
public void SaveAsPngImage(string path, int width = 800, int height = 600) { GridViewExporter.ExportToPng(this, path, width, height); }