Jump to content
Salesforce and other SMB Solutions are coming soon. ×



Recommended Posts

Size? do you mean the number of characters? The Length function will tell you that. Or do you mean the actual size the contents of the text field takes up on disk (in bytes/kb/mb etc) ??


OR do you mean the font size?


Ambiguity is scary :) Since you are a developer I'll assume you probably don't mean Length :)


No design function I can find which will return the font size of a field (since a field may contain text of any number of font sizes). The closest thing I guess would be if the text is set via script, to store the font size you set it to at the time of setting font size (tho its not going to refresh itself if a user changes font size).


If you want actual size in kb/mb etc I guess this could be done using Length. I don't know enough about the size of characters (in bytes) and whether this differs - but I assume it might depending upon the character set used. It would be using your own calc ie Length ( Text ) * 8 = # of bytes ? I really dunno, but you see where I'm going..

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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

Important Information

Terms of Use