Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

382
Views
end of the inserted text in jsPdf

I'm trying to insert a text after a table, but number of lines can vary so I want to calculate the height of the text to know if I need to add a page or not.

The text has a maxWidth.

How can I do it?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There are two options: If you are using jsPDF just set desired element for print to min-height: 840px , in this way if text is longer automaticly will add new page.

You can simply select and get the height of text element on print.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!