Could you please direct me to or give ma an overview of all variables available.
I would like to use every child-variable related to the variable $accountDetails to be able to design the PDFs.
For example $accountName throws back an error like “Uncaught TypeError: Cannot assign to read only property ‘0’ of string ‘name’”.
By the way: I don’t get the dimensions right. Which metrics are in use?
Is it mm or inches or something else? On an A4-sized-portrait-oriented-Invoice the second x-value of 555 is almost at the right border of the document.
you’re right. I am able to see some variables when I open the help modal. But those are only Client or Invoice Details. I am in need for the variables to my company (Name, Adress, Phone etc.).
I already searched the docs of pdfmake. There is no information if the widths and or heights or measures in general are in mm, cm, inches or even pixels.
Can you tell me, what the variable is, which gets the type of the document? I want to set the type of the document, so that there is a heading like “Quote” or “Invoice”.