Author |
Topic  |
|
florenciapw
Argentina
Posts |
Posted - 08/19/2005 : 2:30:16 PM
|
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
|
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 |
 |
|
florenciapw
Argentina
Posts |
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
USA
19 Posts |
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 |
 |
|
greg
USA
1379 Posts |
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.
|
 |
|
|
Topic  |
|