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

GetY Tag


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

Usage

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

Syntax

To use this tag, use the following syntax:

<TAG:GetY variable="VARIABLE NAME">

Parameter
Description

TAG:GetY

(Required) Applet tag indicator.

variable

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

Example

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

<TAG:GetY variable="posy">

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