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
 Applying a scriptedwhite-out background to a font.

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
andrewdsto Posted - 08/29/2019 : 11:55:40 PM
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


3   L A T E S T    R E P L I E S    (Newest First)
andrewdsto Posted - 09/04/2019 : 10:34:20 PM
Thanks guys
cpyang Posted - 09/03/2019 : 12:42:44 PM
We will add this in the upcoming Origin 2020. You can contact tech support to request a beta version to try.

CP
yuki_wu Posted - 09/01/2019 : 11:34:31 PM
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

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