LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Help use font from a file

Hi

 

Can anyone help me. 

I am trying to install a Font (ericssonga628.TTF) via code on first run of my program.

Is there a way of doing that ?

If not is there a way of using that font in my program without have the user manually installing the font ?

 

 

Help share your knowlegde
0 Kudos
Message 1 of 4
(3,254 Views)
 Please I need help ASAP.
Help share your knowlegde
0 Kudos
Message 2 of 4
(3,233 Views)
You need to look at the Windows SDK functions AddFontResource() and AddFontResourceEx(), as well as perhaps RemoveFontResource()/RemoveFontResourceEx().
--
Martin
Certified CVI Developer
0 Kudos
Message 3 of 4
(3,226 Views)

Thanks for the advise.

I will test it out as soon as i can.

Help share your knowlegde
0 Kudos
Message 4 of 4
(3,224 Views)