Determining the width of a formatted value/string

From Planimate Knowledge Base
Revision as of 19:55, 13 December 2013 by Rick (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The width of a string, label or formatted form of an attribute can be determined using the strlen() expression function along with an "=" routine operation, eg:

p.width = strlen(p.mytext)

An older way to do this was using the routine operation FormattedWidth()