mirror of https://github.com/vitalif/phantomjs
![]() http://code.google.com/p/phantomjs/issues/detail?id=17 Adding a new phantom property called "paperSize". It takes one of the two possible dictionary variants: { width: '200px', height: '300px', border: '0px' } { format: 'A4', orientation: 'portrait', border: '1cm' } - If no paperSize is defined, the size is defined by the web page - supported dimension units are: mm, cm, in, px. No unit means px. - border is optional and defaults to 0. - supported formats are: A3, A4, A5, Legal, Letter, Tabloid - orientation (portrait|landscape) is optional and defaults to portrait I'm considering implementing a short form like: phantom.paperSize = 'A4'; ...needs further investigation. |
||
---|---|---|
.. | ||
gif | ||
coffee-script.js | ||
csconverter.cpp | ||
csconverter.h | ||
phantomjs-icon.png | ||
phantomjs.cpp | ||
phantomjs.pro | ||
phantomjs.qrc |