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. |
||
---|---|---|
.. | ||
arguments.js | ||
colorwheel.js | ||
countdown.js | ||
direction.js | ||
fibo.js | ||
follow.coffee | ||
follow.js | ||
hello.coffee | ||
hello.js | ||
ipgeocode.js | ||
loadspeed.js | ||
movies.js | ||
pizza.js | ||
rasterize.js | ||
run-jasmine.js | ||
run-qunit.js | ||
seasonfood.js | ||
technews.js | ||
tweets.coffee | ||
tweets.js | ||
useragent.js | ||
version.js | ||
weather.js |