I want to export the Active View with ArcObjects to JPEG. All Layers in the Document are raster layers (GeoTiff).
I use this code which works quite well when in Data View, but when I perform the same export in Layout View, the picture quality is really bad.
Has anyone an idea what the cause of this problem could be?
If I do File -> Export Map picture quality is good in both Data and Layout View. So Esri seems to be doing it differently in ArcMap.
EDIT: kenbuja had the answer. In case somebody needs the C# variant of the method he mentioned, have a look at the esri documentation