text_box

Summary

Insert text into specified space in PDF document.

Usage

{pdf( text_box, hash( text, text
                  y, y_offset,
                  x, x_offset,
                  width, total width,
                  [ align, text_alignment, ]
                  [ size, text_size ] ) )}

Parameters

NameTypeDescriptionRequired
text string Text to insert yes
y float Y offset yes
x float X offset yes
width float Text width yes
align string Text alignment, left, right, center or full. Default left. no
size float Text size no

Returns

Description

Inserts text into the specified area.

Availble from 3.4 and newer

Examples

{pdf( text_box, hash( text, "Text Box Test"|wash(pdf),

               x, 250,

               y, 400,

               width, 25 ) )}

Will insert Text Box Test into the document. Other content will flow over or below the text.

Comments

log in or create a user account to comment.

Contents

Reference

Database diagram
Template operators
    PDF
       anchor
       createIndex
       filled_circle
       filled_rectangle
       footer
       footer_block
       frame_header
       frontpage
       header
       header_block
       image
       keyword
       line
       link
       newline
       newpage
       set_font
       set_margin
       strike
       table
       text
       text_box
       text_frame
       toc
       ul
    Arrays
    Data extraction
    Formatting
    Images
    Logic
    Mathematics
    Miscellaneous
    Strings
    URLs
    Variables
Template functions
Data fetching
Modules
XML tags


Created

01/06/2004
3:40:51 pm
by Kåre Køhler Høvik

Last updated

01/06/2004
3:40:51 pm
by Kåre Køhler Høvik

Authors

Kåre Køhler Høvik



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.