- Posts: 10
- Thank you received: 0
Positioning of fields on Attachpdf
6 years 3 months ago - 6 years 3 months ago #321978
by andiman
Positioning of fields on Attachpdf was created by andiman
-- HikaShop version -- : 4.3.0
-- HikaSerial version -- : 3.1.1
-- Joomla version -- : 3.9.14
-- PHP version -- : 7
Hello,
I use the attach PDF and also the atach serial plugin. But how to position the elements on the PDF. Where is 0/0 ?
When I position a text on -200/-200 he stays in the middle top of the document. How to fix that?
As you can see in my image I positioned three elements on 0/0 but they are aligned under each other.
-- HikaSerial version -- : 3.1.1
-- Joomla version -- : 3.9.14
-- PHP version -- : 7
Hello,
I use the attach PDF and also the atach serial plugin. But how to position the elements on the PDF. Where is 0/0 ?
When I position a text on -200/-200 he stays in the middle top of the document. How to fix that?
As you can see in my image I positioned three elements on 0/0 but they are aligned under each other.
Last edit: 6 years 3 months ago by andiman.
Please Log in or Create an account to join the conversation.
6 years 3 months ago #321989
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Positioning of fields on Attachpdf
Hello,
Since "0/0" is the default value when you create entries ; that specific value is not read by the plugin and it display the text "below" the previous entry.
From TCPDF and FPDF documentations
Regards,
Since "0/0" is the default value when you create entries ; that specific value is not read by the plugin and it display the text "below" the previous entry.
From TCPDF and FPDF documentations
The unit is by default "mm" but that value can be override by your template. Since you're using a PDF as template, the plugin use "FPDi" to load your PDF and performs dynamic modifications.SetXY
Defines the abscissa and ordinate of the current position. If the passed values are negative, they are relative respectively to the right and bottom of the page.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.177 seconds