How to analyze map programatically?

Discussion created by stiramdasu on Oct 22, 2013
Latest reply on Oct 23, 2013 by Hornbydd

There is a command in ArcMap->File->'Analyze Map...'. This analyzes the current map and shows if there are any errors or warnings. Like for example : 'Layer's data source has a different projection [Unknown] than the data frame's projection' and many more. Can I do this same operation through my C# code (ArcObjects) and identify the errors or warnings it shows ?

Any reply would be greatly appreciated.

Thanks ,