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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Applying a scriptedwhite-out background to a font.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

andrewdsto

Australia
Posts

Posted - 08/29/2019 :  11:55:40 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver 2016 . and Service Release2 (Select Help-->About Origin):
Operating System: Windows 7

Hello
Is there a way of applying a background white-out to a font and not the full label using scripts?

for example:
say I have some text labels on a plot one might be called called linea21text, I can use the command

linea21text.background=4;

to make the whole of the background white-out. The problem is my label runs at an angle so what I get is

https://my.originlab.com/ftp/forum_and_kbase/Images/100000.JPG" border="0">


The difference between them is as below: if you look at the properties for each label



and



In the first image the whole label is white-out background. In the second the font/text itself has a white-out background. Now there are script commands to apply italics, superscripts, underline etc to the text but I can't find any to apply the whiteout to the background. I don't really want to do this manually all the time and the text needs to align itself with an angled line so the full label white-out is not ideal.


Does anyone have any solutions?

Thanks
Andrew



Edited by - andrewdsto on 08/30/2019 02:50:58 AM

yuki_wu

896 Posts

Posted - 09/01/2019 :  11:34:31 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Andrew,

I am sorry that we cannot control this option via LabTalk so far, but I will forward your issue to our share meeting to see if we could improve it in the future.

Regards,
Yuki

OriginLab
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 09/03/2019 :  12:42:44 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
We will add this in the upcoming Origin 2020. You can contact tech support to request a beta version to try.

CP
Go to Top of Page

andrewdsto

Australia
Posts

Posted - 09/04/2019 :  10:34:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks guys
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000