0

Is it possible to convert part of the web page to PDF using a HTML element by its name or ID in puppeteer sharp. If so please provide a example code. Is there any workaround to achieve this?

john
  • 57
  • 1
  • 5
  • What did you try so far? – hardkoded Nov 27 '18 at 10:40
  • I tried to convert a particular HTML element to PDF using its ID. i.e, partial web page to PDF rendering. For ex: converting a particular div element to PDF instead of converting whole web page to PDF. – john Nov 27 '18 at 11:12
  • 1
    No, you can't. You could take a screenshot and then try to make a PDF from the image. – hardkoded Nov 27 '18 at 13:25

0 Answers0