Siebel Service Handheld Guide > Print Tagging Language > Print Formatting Tags >

LineTo Tag


The LineTo tag draws a line of a specified thickness from the current printer head position to a specified coordinate.

Usage

Use the LineTo tag along with the GetX, GetY, SetX, SetY, and Offset tags to draw lines anywhere in the printable area of your template.

Syntax

To use this tag, use the following syntax:

<TAG:LineTo x="END X" y="END Y" linewidth="THICKNESS">

Parameter
Description

TAG:LineTo

(Required) Applet tag indicator.

x

(Required) Position, in millimeters, on the X axis where the line ends from the left margin.

y

(Required) Position, in millimeters, on the Y axis where the line ends from the top margin.

linewidth

(Required) Thickness, in millimeters, of the line.

Example

The following example draws a vertical line of 1 mm thickness from (100,100) to (100,140), and a thin horizontal line from (100,140) to (120,140):

<TAG:SetX x="100">

<TAG:SetY y="100">

<TAG:LineTo x="100" y="140" linewidth="1">

<TAG:LineTo x="120" y="140" linewidth="0.2">

Siebel Service Handheld Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.