In the text editing/properties box, there are buttons for Bold, Italic, and Underline:
These are “modifiers” added by Rhino to the text, they do not represent changing type styles. Looking at all the parameters (a huge number) that are associated with an annotation object, I can only find one place where these modifiers are actually accessible - that is within the rich text ‘string’.
{\rtf1\deff0{\fonttbl{\f0 Arial;}}\f0 \fs26{\f0\b\i\ul Some text}}
The b\i\ul
in the above indicate the modifiers applied. Is the only way to get that information to actually parse the rich text string and see if they are present? If so, that seems highly convoluted. If there is another easier/better way, I would like to know it.
1 post - 1 participant