1

I convert HTML to PDF with wkhtmltopdf by starting a subprocess from .Net. After the processing I need to know the page numbers of some HTML elements. Any idea how to achieve this?

Any alternative (with example code) working on .Net would be fine, too. But it has to respect the paged media CSS properties.

schlamar
  • 9,238
  • 3
  • 38
  • 76

1 Answers1

0

You can at least find out the pages of all headings by dumping an outline with --dump-outline <filename> and parsing this file.

schlamar
  • 9,238
  • 3
  • 38
  • 76