Initializing help system before first use

# svgaddxmltext

Purpose
Add an XML formatted text to an object group.
Synopsis
`procedure svgaddxmltext(gid: string, x: real, y: real, msg: text)`
`procedure svgaddxmltext(x: real, y: real, msg: text)`
Arguments

gid | Object group ID.
x | The x coordinate of the point.
y | The y coordinate of the point.
text | The text that will be displayed at the given point.

Example
This code displays some text with individual formatting on different words:

     svgaddxmltext(20, 150, 'XML formatted text:
       <tspan font-size="20px">large</tspan>,
       <tspan font-style="oblique">oblique</tspan>,
       <tspan font-weight="bold">bold</tspan>,
       <tspan text-decoration="underline">underlined</tspan>,
       <tspan stroke="red">red</tspan>')

Further information
1. By default the specified point denotes the lower left corner of the text display area; the vertical alignment can be changed via the style option SVG_ANCHOR (values 'start', 'middle', or 'end').
2. If no group ID is specified, the text is added to the last group that has been created.
Related topics
svgaddtext.
Parent Topic Procedures and Functions

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.