Shape Tag JM9
A shape with a text block in it. Suitable for revisions, keynotes, whatever. Feel free to modify it into a label, window marker, etc. Let me know if something doesn't work. (Until we get a proper forum, use PM to complain.)
Shape options: square, rectangle, triangle, circle, ellipse, oval, diamond, and hexagon.
The rectangle, oval, and hexagon will elongate to accommodate the text, if the 'Stretch for Text' parameter is on. The square will turn into a rectangle.
The 'Height' parameter refers to the vertical dimension. The 'Length Factor' parameter is multiplied by the height to get the length of the rectangle, ellipse, and oval shapes. If 'Stretch for Text' is on, the length is overridden by the text length.
The text, by default, is the global ID of the object. You can also choose to enter a custom text.
The size of the text can be set by points, millimeters, or as a fraction of the shape height. All these parameters are hooked together, so when you switch among them the actual height stays the same.
There is a value list for the font, and you can enter any font name. (You can also modify the value list for your needs, or hard-code the font.) The text can be shown bold, italic, underlined, or any combination.
Cross-posted.