LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Text Rect ignoring Bold

I am attempting to use the advice in:

 

http://digital.ni.com/public.nsf/allkb/5010DF2DF4D443AF86256FAF0008F498

 

to autosize a string indicator in LabVIEW 8.6.

 

Get Text Rect seems to be returning the same horizontal size irrespective of whether font is set to Bold or not?

 

0 Kudos
Message 1 of 2
(2,415 Views)

You are trying to use "Application Font" for a user font. You should be specifying an actual font name, like Garamond. Also, you need to wire the "desired font" input and set its value to "User-specified font".

 

Also: the sequence frame is completely unnecessary, as is the local variable. Just use a wire to connect String Input to String Output to the Get Text Rect VI.

0 Kudos
Message 2 of 2
(2,406 Views)