LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Size of text plot

Hello,

I have plot text on a graph using PlotText function. I want to change the size of the the text but couldn't find the way to do it. It would be nice if somebody could give me an advice.
0 Kudos
Message 1 of 2
(3,057 Views)
You first create a new MetaFont using the CreateMetaFont() function. E.g. to create a plain 9 point Arial MetaFont you could do:

CreateMetaFont("Arial9","Arial",9,0,0,0,0);

The you use the new font name as the MetaFont parameter in the PlotText() function:

PlotText(panel,control,xpos,ypos,"Some Text","Arial9",VAL_BLACK,VAL_WHITE);


Martin.
--
Martin
Certified CVI Developer
Message 2 of 2
(3,054 Views)