Skip to content

Tag Definition: drawString

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

charSpace

implied

None

direction

implied

None

['ltr', 'LTR', 'rtl', 'RTL', 'none']

mode

implied

None

x

required

None

y

required

None

Can contain
(#PCDATA | name | getName | pageNumber | evalString | loop_i | switch_i | assign_i | if_i | expr)*

Purpose

Draw some left-aligned text to the right of the x and y co-ordinates specified.

Check out our docs page on this.

Example usage

<pageGraphics>
    <drawString x="30" y="800">This is a drawString example</drawString>
</pageGraphics>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <template> ➔ <pageTemplate> ➔ <pageGraphics> ➔ <drawString>