简体   繁体   中英

create PDF file in air/actionscript/flex


i have AIR application and I need save some data to PDF file..can i do it some simple??
is different way for save image to pdf or save only text to pdf??

thanks for help

There are ActionScript 3 libraries for creating PDFs. Take a look at purePDF or AlivePDF . Here are some of the features from purePDF:

  • support for pdf viewers display options
  • alpha transparency
  • layers and layers membership
  • support for pdf text rendering
  • tables ( nested tables, page split tables, table with images, etc...)
  • patterns, shadings patterns (linear and gradient), spot colors, rgb color and cmyk color
  • linear and radial gradients with alpha
  • forms (user input forms, textfields, combo box, list, checkbox)
  • paragraphs, phrases, chunks for text manipulation
  • image patterns
  • lists
  • images ( png, tif, jpeg, bitmapdata, gif, animated gifs)
  • metadata, page header and footers
  • javascript
  • multi column text

Also take a look at some of the purepdf exampels on their Google Code wiki or their examples source on GitHub .

Check it out alivepdf

Hopes that helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM