Hi,
I've encountered a problem with showPrintAreaEnabled=true in Print Widget. It seems to render a correctly sized canvas only with 96dpi. Changing e.g. to 300dpi enlarges the printarea canvas. I think that's not the intended behaviour.You can check that out in the samples: https://developers.arcgis.com/javascript/latest/sample-code/widgets-print/
Ok, I have reported this to Esri support. It's a bug (BUG-000173156) that will be addressed in a future release. Here's an alternative solution: Using a keyboard shortcut (press Shift and drag a box on the map to draw a preview area) results in that changing the DPI value no longer changes the extent of the print preview area. Keyboard shortcut is mentioned as a tip in documentation: https://doc.arcgis.com/en/arcgis-online/get-started/print-maps-mv.htm
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.