Open and Close Arc Map from within a Geoprocessing Tool

Discussion created by abijunair on Aug 21, 2013

I want to make a GP tool which will open an existing feature layer\mxd, do some buffer processing, zoom to the particular buffer created and export it in pdf or image format. I will be calling this GP from web and want to send the exported pdf\image back . I have some idea for doing the same through a C# based windows application( by opening arcmap,create buffer,zoom, export using activeview.exportframe).

So my doubt here is
1.can we open arcmap through GP and perform the operation as mentioned above?
2.if not then what will be the best way to achieve the same functionality?

advance thanks & appreciation for any help\guidance