LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

annotation caption size

Hi,

I would like to change the position of the caption of an annotation programatically.

To do this I need to get the size of the caption but I couldn't find how to do it.

 

Is there a way to get the size of the caption of an annotation?

 

0 Kudos
Message 1 of 2
(740 Views)

I had no success in finding this item too.

What I can suggest is to set the caption font to a specified predefined or user-defined metafont and call GetTextDisplaySize () to retrieve height and width of the text used as caption.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(711 Views)