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
 text object font size
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

florenciapw

Argentina
Posts

Posted - 08/19/2005 :  2:30:16 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 6.0
Operating System: DOS (Windows)
Hi, Mike:
Ive created a taxt object through the following script:

label -s -sa -d (.05*page.width) (.97*page.height) -n Path \v(%X%G.OPJ);

How can I set the font size?

florencia

altomare

USA
19 Posts

Posted - 08/19/2005 :  3:16:09 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Florencia,
I believe that
Object_name.fsize=30;
should work (30 is the size in point using the current font)
Be careful because Object_name can't contain some special characters (like "." and maybe some others)
HTH

Fabio
Go to Top of Page

florenciapw

Argentina
Posts

Posted - 08/19/2005 :  3:37:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot, Fabio! It worked perfectly.
What type of objects does this command (Object_name.fsize) apply to?

florencia
Go to Top of Page

altomare

USA
19 Posts

Posted - 08/19/2005 :  6:26:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:

What type of objects does this command (Object_name.fsize) apply to?



I believe it applies to al user created visual objects, but I am not sure. I only use it for text label and so on. I am sure the manual will say more :-)
Ciao

Fabio
Go to Top of Page

greg

USA
1379 Posts

Posted - 08/23/2005 :  5:18:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
User-created Visual Objects have a generic set of properties which may or may not apply to a particular object. The current property list is :

ARROWBEGINLENGTH
ARROWBEGINSHAPE
ARROWBEGINWIDTH
ARROWENDLENGTH
ARROWENDSHAPE
ARROWENDWIDTH
ARROWPOSITION
ATTACH
AUTO
BACKGROUND
COLOR
DX
DY
ENABLE
EVENT
FILLCOLOR
FONT
FSIZE
HEIGHT
HMOVE
INDEX
KEEPINSIDE
LEFT
LINETYPE
LINEWIDTH
MOUSE
NAME
REALTIME
REVVIDEO
ROTATE
SCRIPT
SHOW
STATES
TEXT
TOP
VERBATIM
VMOVE
WIDTH
X
Y

A Text Object will have TEXT, FONT, FSIZE, COLOR, etc. , but will not have a ARROWENDSHAPE property.
Similarly, an Arrow object will have ARROWENDSHAPE, COLOR, X, etc. , but will not have a TEXT property.


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