View Single Post
Old 07-16-2009, 10:23 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
The vizinfo box automatically adjusts its size to fit the widht/height of the text. The following code shows how to adjust the text size and disable the expand/shrink icon:
import viz

MESSAGE = """This is my message.
It contains multiple lines.
This is the last line.

import vizinfo
info = vizinfo.add(MESSAGE,textsize=2.0) #Double text size
Reply With Quote