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

GetX Tag


The GetX tag returns the printer head position, measured from the left margin (in millimeters) along the X axis, and assigns it to the input variable.

Usage

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

Syntax

<TAG:GetX variable="VARIABLE NAME">

Parameter
Description

TAG:GetX

(Required) Applet tag indicator.

variable

(Required) Name of the variable to which the X axis value of the current printer head position is stored.

Example

The following example returns the current X axis position of the printer head and stores it in the posx variable:

<TAG:GetX variable="posx">

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