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
 Origin Forum
 How to attach a label to layer and not page?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

glishlab

USA
8 Posts

Posted - 12/08/2003 :  3:35:07 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
How do you access the attach to property of a label.
When I create a new text label it is attached to the page and not the layer frame. I want it attached to the layer frame.

Thanks for any help.

Glishlab

glishlab

USA
8 Posts

Posted - 12/08/2003 :  3:59:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Solution found:
I put this post in the wrong forum.

label -p x y message; \\attaches the label to the layer frame.

label -a x y message; \\ attaches to layer frame and axis

label -n; \\ attaches to page.

This is what I have figured out from the help file and a few posts on the forum.


Thanks
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 12/08/2003 :  4:28:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If the label has a name you can use this...

labelname.attach = 0; // attach to layer
labelname.attach = 1; // attach to page
labelname.attach = 2; // attach to axes scales

See User-created Visual Objects in LabTalk help for other general object properties and methods.

Mike Buess
Origin WebRing Member
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