Platform: ArcGis Server 9.3.1
We are trying to export to pdf an ArcGISDynamicMapServiceLayer in a web application created with the ArcGis Api for Flex.
We are using the ArcGISDynamicMapServiceLayer.exportMapImage method and testing the ImageParameters dpi, extent, height and width.
We need to create a pdf with 300 dpi exactly like ArcMap, with the actual extent of the map and a good quality of dpi. Our service has 96 dpi.
If we try 300 dpi and default height and width, the result image is very small and labels are not a the same scale.
If we try to alter height and width, the extent of the result image increase the map extent, not only the image size.
Is there a way to export to pdf exactly like ArcMap with the exportMapImage method or other method?
Thanks in advance