Skip to content

Conversation

tmorozov
Copy link

you could use request like this

ph.createPage(function (error, page) {
  page.setPaperSize({ width: '800px', height: '600px', border: '0px' }, function(err) {
  // do smth...
  });
});

for setting page dimensions other syntax(which uses format) should also be supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant