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

  • Left (default)
  • Center
  • Right
  • Full (NOT IMPLEMENTED)

JUSTIFY is provided for backwards compatibility, and is deprecated.

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