714
edits
(→更多信息) |
(→个性化示例) Tag: 2017 source edit |
||
| Line 126: | Line 126: | ||
提醒:setXY 函数的原点位于页面的左上角 | 提醒:setXY 函数的原点位于页面的左上角 | ||
===Add a PDF Annotation (comment)=== | |||
''Left side of the page around the middle:'' | |||
<syntaxhighlight lang="PHP"> | |||
$pdf->Annotation(102, 202, 10, 10, "this is the comment text", array('Subtype'=>'Text', 'Name' => 'Comment', 'T' => 'this is comment author', 'Subj' => 'this is comment title', 'C' => array(255, 255, 0))); | |||
</syntaxhighlight> | |||
''Right side of the page around the middle:'' | |||
<syntaxhighlight lang="PHP"> | |||
$pdf->Annotation(202, 102, 10, 10, "this is the comment text", array('Subtype'=>'Text', 'Name' => 'Comment', 'T' => 'this is comment author', 'Subj' => 'this is comment title', 'C' => array(255, 255, 0))); | |||
</syntaxhighlight> | |||
===Add Complementary Attribute (extrafiled)=== | |||
A dedicated page give you some advises how to integrate complementary attributes (extrafields) into PDF models of Dolibarr [[Add Extrafields on PDF Models]] | |||
==如需了解更多信息== | ==如需了解更多信息== | ||
edits