Multiline nodes labels

Article ID: 2226
Last updated: 29 May, 2018
Article ID: 2226
Last updated: 29 May, 2018
Revision: 3
Views: 697
Posted: 04 Apr, 2003
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How to control the multi-line feature of IlvGeneralNode through XML?

Answer

You just have to break the contents of the "property" element in several lines:

<node id="2">
<property name="sdm:x">212.89062</property>
<property name="label">FirstLine SecondLine
ThirdLine</property>
<property name="sdm:y">71.78906</property>

</node>

Note: The following syntax will not give satisfactory results and you should not use it.

<node id="2">
<property name="sdm:x">212.89062</property>
<property name="label">FirstLine\nSecondLine\nThirdLine</property>
<property name="sdm:y">71.78906</property>
</node>

In addition to this hint, please pay attention to the style sheet settings that may interfere with the XML contents and especially to the labelMode property as described in the documentation.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2226
Last updated: 29 May, 2018
Revision: 3
Views: 697
Posted: 04 Apr, 2003 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category