Zeal Posted June 18 Share Posted June 18 Hello there I would like to change the font type of various text on my DAQ. The command written in the sequence is a below. Component.MultiLan.strFontName = Corbel where Corbel is the font type I have such various font. The command mention below to change fore color and text mentioned below are working. So, what actually needs to be done to change the font of the text. Component.MultiLan.forecolor = rgb(255,0,0) Component.MultiLan.strText = 'Devanagari New' Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted June 18 Share Posted June 18 First, I am assuming you are using DAQFactory 19 and not 20. The font name property is going to be a string, so unless Corbel is a string variable you have created, you need to put it in quotes like you did with strText. Component.MultiLan.strFontName = "Corbel" Quote Link to comment Share on other sites More sharing options...
Zeal Posted June 18 Author Share Posted June 18 Thanks, Now it working. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.