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
 text object font size

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
florenciapw Posted - 08/19/2005 : 2:30:16 PM
Origin Version (Select Help-->About Origin): 6.0
Operating System: DOS (Windows)
Hi, Mike:
I´ve 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
4   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 08/23/2005 : 5:18:47 PM
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.


altomare Posted - 08/19/2005 : 6:26:07 PM
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
florenciapw Posted - 08/19/2005 : 3:37:47 PM
Thanks a lot, Fabio! It worked perfectly.
What type of objects does this command (Object_name.fsize) apply to?

florencia
altomare Posted - 08/19/2005 : 3:16:09 PM
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

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