line

Summary

Draw line in pdf document

Usage

{pdf( line, hash( x1, x_start,
                        y1, y_start,
                        x2, x_stop,
                        y2, y_stop,
                        [ page, occurence, ]
                        [ thickness, line_thickness ] ) )}

Parameters

NameTypeDescriptionRequired
x1 float Line X start point yes
y1 float Line Y start point yes
x2 float Line X stop point yes
y2 float Line Y stop point yes
pages string Line occurence on pages, all or current, default current no
thickness float Line thickness, default 1 no

Returns

Description

Draw a line in PDF document.

Note:
When creating lines for all pages, these must be defined same plase as page footer/header ( once at the end of the document specification ).

Availble from 3.4 and newer.

Examples

{pdf( line, hash( x1, 100, y1, 100, x2, 100, y2, 300 ))}

Will draw a line from (100, 100) to ( 100, 300) on the current page.

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
2:49:18 pm
by Kåre Køhler Høvik

Last updated

01/06/2004
2:49:18 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.