T O P I C R E V I E W |
DrMK |
Posted - 02/07/2020 : 06:28:23 AM Origin 2019b (32-bit) 9.6.5.169
Hello,
I programmed a button which creates a text label. Now I want to set a line distance of the text but I can't find a command for the line distance.
Does anybody knows the command?
Thank you.
Best regards
Matej |
4 L A T E S T R E P L I E S (Newest First) |
yuki_wu |
Posted - 02/13/2020 : 02:51:09 AM Hi Matej,
Using objectName.vgap property can control the vertical gap between each row in the percentage of font height.
To check the available object properties, you can type the following in Script Window: objectName.= <ENTER>
For more details please refer to the page I mentioned above.
Regards, Yuki OriginLab
|
DrMK |
Posted - 02/13/2020 : 01:53:29 AM @cpyang sorry for the wrong translation. I switched the language now to English and the property which I want to change is called "line spacing"
@yuki_wu there is no information about the line spacing.
Best regards
Matej |
yuki_wu |
Posted - 02/09/2020 : 9:43:04 PM Hi Matej,
Not sure which property you want to set for text label, but I think this page might help: https://www.originlab.com/doc/LabTalk/ref/Graphic-objs
Regards, Yuki OriginLab
|
cpyang |
Posted - 02/08/2020 : 1:20:14 PM You need to give more details here, what does line distance of a text object mean?
CP
|