10-24-2017 12:43 AM
Hello,
in many reports I have the same TextObject1 (a small table).
how can i change the font of this table to Arial by script?
10-24-2017 11:43 AM
Hi Trader,
You can only edit the Text Object in DIAdem at design-time, not during run-time. You could perhaps store several different versions of the sheet this Text Object is on, each in a different *.TDR file and each with a different font configured. Then your Script could conditionally append-load the correct sheet to give you programmatic flexibility. Or you could consider using a 2D table object instead.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-25-2017 07:22 AM
Tanks.
That means in DIAdem it is not posible to change it with a script directly.
10-26-2017 07:59 AM
Hi Trader,
The only way I know how to affect the text object with a script is to change the value of a Data Portal property or global variable that is accessed with @@ expressions inside the static configuration of the text object.
Brad Turpin
DIAdem Product Support Engineer
National Instruments