Answer the question
In order to leave comments, you need to log in
TCPDF not all options work. Why?
I'm working with the TCPDF library to create a PDF file.
The TextField method accepts an array of properties that is commented as "Possible values are described on official Javascript for Acrobat API reference. Annotation options can be directly specified using the 'aopt' entry."
I open this document https://www.adobe.com/content/dam/acom/en/devnet/a...
And I find these parameters in it - line 415, Field properties.
I start passing these parameters as an array:
$properties = [
'alignment' => 'center',
'value' => '123'
];
Answer the question
In order to leave comments, you need to log in
I once worked and added the generation of similar documents: https://ww-realty.ru/dom/potapovo-id167-415/id167-...
It hurts, it's difficult, it takes a long time. Try to generate html, and then just convert it to PDF with some suitable utility.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question