ez.no / exponential / documentation / reference / template operators / pdf / text
{pdf( text, text, hash( [ font, font_name, ]
[ size, font_size>, ]
[ align, text_alignment, ]
[ rgb, rgb_color, ]
[ cmyk, cmyk_color ] ) )}
| Name | Type | Description | Required |
|---|---|---|---|
| text | string | Text to insert into PDF document | yes |
| font | strinf | Font to use | no |
| size | integer | Font size | no |
| align | text | Text justification, left, right, center and full | no |
| rgb | array | RGB color of text, range 0 .. 255 | no |
| cmyk | array | CMYK color | no |
Insert regular text into PDF document. Font type, size and alignment can be specified.)}
{pdf( text, 'Exponential and PDF', hash( font, 'Times-Roman', size, 22, align, 'center' ) )}
Comments