Trying to add a paragraph to a pdf using PDF::API2 also using PDF::Table

 

I know there is a text_block function however I can't get it to work and
there is not much doncumentation that clearly explains this  function...

 

 

Has anyone ever used this or knows how to??

 

 ($width_of_last_line, $ypos_of_last_line, $left_over_text) =
$pdftable->text_block(

    $txt,

   $text_to_place,

    -x        => $left_edge_of_block,

    -y        => $baseline_of_first_line,

    -w        => $width_of_block,

    -h        => $height_of_block,

   [-lead     => $font_size * 1.2 | $distance_between_lines,]

   [-parspace => 0 | $extra_distance_between_paragraphs,]

   [-align    => "left|right|center|justify|fulljustify",]

  [-hang     => $optional_hanging_indent,]

);

 

 

that's all the sample it gives but I can not get it to work, help
please....

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to