We are building an standalone ArcGIS Engine application and we are going to add support for printing.
There are several APIs for printing a PageLayout in ArcObjects, in ArcGIS 10 there are at least three different ways to do this:
- The new PrintAndExport class, in the documentation they seem to promote this API Conceptual help - Printing maps.
- It's also possible to print a layout using the PrintPageLayout method PageLayoutControl Sample: Printing with the PageLayoutControl
- But also Output method on IActiveView can be used.
Can someone give recommendations on which API we should choose? Is there any known pitfalls in these APIs?
Update: Found one pitfall during my research:
- When working with ArcGIS Server layers, only PrintAndExport draw the patches/swatches on the legend when printing the layout.