Jump to content
Developer Wiki and Function Reference Links ×

Get Document Text Size


Mike C

Recommended Posts

Is there a command to retrieve the current text settings of the document?

One of my plug-in objects sets it's own text size for a label, and that appears to become the default after it's done executing. Within that plug-in, I'd like to retrieve the current text size to store in a variable, and then reset the text size to that as the plug-in finishes executing.

It seems I can create a temporary text object at the beginning of the plug-in, retrieve it's size into a variable, and then delete it, but I was hoping for something less convoluted.

Thanks.

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...