At 10 and 10.1 you can make use of arcpy.mapping to publish a gp service to do printing with.
This is a sample that does this:
As you can see, transparency is respected with the arcpy approach.
We have an application where the end-user can choose nearly any style they want for graphics.
- All Simple/Text/MarkerSymbols
- Any transparency or colour
- Any fill or line style
We hit limitations with trying to carry across these graphics across into an ArcPy service.
So we have been testing out the new 10.1 Export Web Map tool from the PrintingTool toolbox.
With some investigation on another question, we determined that it was not a python script behind this tool, but appears to be using ArcObjects.
From initial tests, it has the benefit over ArcPy in that whatever is in my graphics layer in our web client, gets thrown across and drawn ok in the output PDF (using the draw toolbar and default OOTB print service with Flex 3.0 API). However, transparency gets stripped out:
I was looking at the ExportWebMap input parameter for the Export Web Map Tool, and trying to find out if there was something I could do to try and retain that transparency.
It does mention being able to set opacity on a layer, but I am unsure on how to manipulate one of the existing Flex samples to achieve this.
Can someone provide a solution (any API) to retaining transparency using the new ExportWebMap tool at 10.1? Or is it a limitation?