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

DrawRect Tag


The DrawRect tag draws a rectangle at the specified coordinates. This is an absolute mode-only tag.

Usage

Use the DrawRect tag to draw a rectangle anywhere in the printable area of your page. This tag can be used with the Applet tag to draw a rectangle around a form applet.

Syntax

<TAG:DrawRect left="LEFT" right="RIGHT" top="TOP" bottom="BOTTOM" linewidth="THICKNESS">

Parameter
Description

TAG:DrawRect

(Required) Applet tag indicator.

left

(Optional) Specifies the distance, in millimeters, of the left side of the rectangle from the left margin.

If omitted, the current head position is used and the RIGHT parameter is used to specify the width.

top

(Optional) Specifies the distance, in millimeters, of the top side of the rectangle from the top margin.

If omitted, the current head position is used and the Bottom parameter is used to specify the height.

right

(Required) Position, in millimeters, of the right side of the rectangle on the X axis from the left margin.

bottom

(Required) Position, in millimeters, of the bottom side of the rectangle on the Y axis from the top margin.

linewidth

(Required) The thickness, in millimeters, of the line.

Example

The following example draws a thin 100 x 90 mm rectangle at 30 mm from the top and 20.5 mm from the left edge of the printable area:

<TAG:DrawRect left="20.5" top="30" right="120.5" bottom="120" linewidth="0.2">

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