myPDF.addImage(map,4,32,w-8,(w-20)/ratio,ImageFormat.JPG,100,Blend.NORMAL,null);
const fileReference:FileReference = new FileReference(); fileReference.addEventListener(Event.COMPLETE, removeCur); fileReference.addEventListener(Event.CANCEL, removeCur); fileReference.addEventListener(IOErrorEvent.IO_ERROR, removeCur); fileReference.addEventListener(SecurityErrorEvent.SECURITY_ERROR, removeCur); fileReference.save(myPDF.save(Method.LOCAL,"",Download.INLINE,"myPDF.pdf"),"map.pdf");
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.