ez.no / exponential / documentation / reference / template operators / pdf / frontpage
{pdf( frontpage, hash( text, page_text,
[ align, text_alignment, ]
[ top_margin, top_text_margin, ]
[ size, text_size ] ) )}
| Name | Type | Description | Required |
|---|---|---|---|
| text | string | Front page text | yes |
| align | string | Text alignment | no |
| top_margin | int | Text top margin | no |
| size | int | Text size | no |
Add text to front page of PDF docuemnt. If no frontpage exists, create it. This function should only be called after all other content has been added to the PDF document.
Available in 3.3 and newer
{pdf( frontpage, hash( text, 'eZ PDF document', size, 26, align, 'center', top_margin, 350 ) ) }
log in or create a user account to comment.
Comments