The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Set line distance of text label

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000