Answer the question
In order to leave comments, you need to log in
What library can be used to generate an image or a PDF?
Hi all!
Help solve the problem. you need to generate a picture or a PDF file on the fly as shown in the screenshot -
Thus, if you look at the screenshot, then when you enter text in the left column, you need to make a picture or PDF on the fly like on the right. Please note that the text that I enter on the left should always fit on one page on the right, i.e. the font adapts to the size of the sheet.
Thank you very much in advance!
Answer the question
In order to leave comments, you need to log in
To generate pdf on the client - pdfmake.org/index.html
but the line sizes will need to be calculated manually.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question