vxml-textbox
By: Tim - August 19 2006 11:16 AM
The textbox tag belongs in the body section tag. The purpose is to add a word-wrapping text element to your vSig.
Properties:
id - The required, unique ID for internal purposes (e.g. 0,1,doodles) and for organization and compliance with the GUI editor.
xstart - The X coordinate (from the upper left of the image) of the upper left corner of the textbox - the upper left! In other words, where the textbox starts width-wise.
xfinish - The X coordinate (from the upper left of the image) of the upper right corner of the textbox - the upper right! It's the width of the textbox + xstart - where the textbox wordwraps.
ystart - The Y coordinate (from the upper left of the image) of the upper left of corner of the text.
font - A font to apply to the text - an ID defined in a font tag.
color - A color to apply to the text - an ID defined in a color tag.
value - The (static) value of the text element. Can also be replaced by inner text, e.g. <text ...>value</text>
AND/OR
vscript - A vScript to execute upon rendering of this element - an ID defined in a vscript tag.
OR
variable - A variable name (reference).
Examples:
<textbox id='qotd' color='mycolor1' font='mydefinedfont' xstart='10' xfinish='100' y='10'>Today's quote rocks!</text>
<textbox id='longtext' color='mycolor2' font='mydefinedfontid' xstart='0' y='500' value='Would wrap a signature 500px long' />
« Back to vXML Home