PDF::FromHTML::Template::Element::TextBox(3pm) | User Contributed Perl Documentation | PDF::FromHTML::Template::Element::TextBox(3pm) |
PDF::FromHTML::Template::Element::TextBox - To write text in a specified spot
TEXTBOX
PDF::FromHTML::Template::Element
JUSTIFY is provided for backwards compatibility, and is deprecated.
<font h="8" face="Times-Roman"> <row> <textbox w="100%" h="*4">Some text here</textbox> </row> </font>
That will create textbox which will occupy four rows of text at whatever size the font is set to.
Set this to a true value and the height value will be a requirement, not an option.
None
Nothing
ROW
<row h="8"> <textbox w="40%" text="Some text here"/> <textbox w="60%"><var name="Param1"/> and stuff</textbox> </row>
This will put two textboxes on the page at the current Y-position. The first will occupy 40% of the write-able space and contain the text "Some text here". The second will occupy the rest and contain the text from Param1, then the text " and stuff". (This is the only way to mix parameters and static text in the same textbox.)
Rob Kinyon (rkinyon@columbus.rr.com)
ROW
2023-02-14 | perl v5.36.0 |