Siebel Sales Handheld Guide > Print Tagging Language > Control Positioning Tags >

SetY Tag


The SetY tag sets the printer head position along the Y axis.

Usage

SetY is an absolute mode-only tag which can be used along with the GetX, GetY, and SetX tags to control the position of the printer head. Use the SetY tag in conjunction with the Cell, Applet, and Lineto tags to position objects in the printable area.

Syntax

<TAG:SetY y="Y">

Parameter
Description

TAG:SetY

(Required) Applet tag indicator.

y

(Required) String value or variable (if used with GetY tag) specifying where to position the printer head based on its distance to the bottom (in millimeters) from the top margin of the paper.

Example

The following sets the printer head position to 40 mm from the top margin:

<TAG:SetY y="40">

If using SetY with the GetY and Offset tags, the following example sets the printer head position 40 mm below the current printer head position. This means that if the current printer head position is 100 mm from the top margin, then the new printer head position is 140 mm from the top margin:

<TAG:GetY variable="posy">

<TAG:Offset variable="posy" offset="40">]

<TAG:SetY y="<variable>posy">

Siebel Sales Handheld Guide Copyright © 2007, Oracle. All rights reserved.