Jump to content
Developer Wiki and Function Reference Links ×

dimension


Recommended Posts

hi nna,

could you tell me, why the following script don't show me the text size of the dimension. where is my "error". or is it a bug in the call? thanks for your answer!

the script:

Procedure VariableLesen;

?

CONST

?Selector = 17;

?

VAR

?OldFSize:Integer;

?FirstSelHd : Handle;

?

BEGIN

?

FirstSelHd := FSActLayer;

OldFSize := GetObjectVariableInt(FirstSelHd, Selector);

Message (OldFSize);

?

END;

?

RUN(VariableLesen);

Link to comment
  • 2 weeks later...

hi jeff,

thanks for your answer. if the script is written with "GetObjectVariableReal" then the result ist "correct". the result must be multiply with 0.0567 to have the textdimension in points. do you know why it must multiply with this digit?

another question: could it be possible, that "SetObjectVariableReal" is shown in a messeagedialog on the screen?

thanks for this great tech board!

greetings, marc

here's the script:

Procedure VariableLesen;

?

CONST

?Selector = 17;

?

VAR

?OldFSize:Real;

?FirstSelHd : Handle;

?

BEGIN

?

FirstSelHd := FSActLayer;

OldFSize := GetObjectVariableReal(FirstSelHd, Selector);

Message (OldFSize);

?

END;

?

RUN(VariableLesen);

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...