Skip to content

Tag Definition: textBox

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

align

implied

None

borderSpec

implied

None

boxFillColor

implied

None

boxHeight

required

None

boxStrokeColor

implied

None

boxWidth

required

None

fontName

implied

None

fontSize

implied

None

label

implied

None

labelFontName

implied

None

labelFontSize

implied

None

labelOffsetX

implied

None

labelOffsetY

implied

None

labelTextColor

implied

None

lineWidth

implied

None

shrinkToFit

implied

None

style

none

textColor

implied

None

vAlign

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

This lets you create a textbox you can use within forms requiring specific placement of fields.

Example usage

<story>
    <illustration width="8cm" height="5cm">
        <textBox x="1cm" y="-4cm" boxWidth="15cm" boxHeight="1cm">Filling in a text box</textBox>
    </illustration>
</story>

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> ➔ <story> ➔ <illustration> ➔ <textBox>