using ESRI.ArcObjects.AxMapControl;
using ESRI.ArcObjects.Core;
using ESRI.ArcObjects.Core;
public static void export(AxMapControl MapCtrl, Form hwin)
{
try
{
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "(*.tif)|*.tif|(*.jpeg)|*.jpeg|(*.pdf)|*.pdf|(*.bmp)|*.bmp";
if (sfd.ShowDialog(hwin) == DialogResult.OK)
{
IExporter pExport = null;