DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

changing font of a report TextObject

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?

0 Kudos
Message 1 of 4
(2,968 Views)

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

0 Kudos
Message 2 of 4
(2,937 Views)

Tanks.

That means in DIAdem it is not posible to change it with a script directly.

0 Kudos
Message 3 of 4
(2,930 Views)

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

0 Kudos
Message 4 of 4
(2,922 Views)