We can use purePDF or AlivePDF ActionScript 3 libraries for creating PDF from Adobe Air.
This example code showing how to saved and stored a .JPG file on the device. this way you may save .PDF file also. I will show full PDF example here.
f = File.documentsDirectory.resolvePath(fil_name+".jpg"); stream = new FileStream(); stream.open(f, FileMode.WRITE); i = new JPGEncoder(80); bytes = new ByteArray(); bytes = i.encode(snapShot.bitmapData); stream.writeBytes(bytes, 0, bytes.bytesAvailable); stream.close();
comments
If you’re ready to take control of your organization’s data by setting up a private… Read More
Building a private cloud involves creating a virtualized environment where you can manage, store, and… Read More
In the rapidly evolving landscape of artificial intelligence, Flex AI stands as a transformative force,… Read More
Apple is set to once again make waves in the smartphone market with the iPhone… Read More
Act quickly! The sooner you take action, the better your chances of saving your water… Read More
Introduction The electric vehicle (EV) market continues to grow rapidly, driven by technological advancements and… Read More
This website uses cookies.