Skip to main content
Known Participant
October 14, 2009
Question

[CS2/CS3] - kTextAttributes - StrokeBoss

  • October 14, 2009
  • 1 reply
  • 723 views

Hello everyone,

   I'm using TextAttributeRunIterator for getting character properties of paragraph and I have problem to get information about "Stroke Weight", I found these Bosses connected with Stroke Width: kTextAttrPRAStrokeBoss & kTextAttrPRBStrokeBoss, but in description I found that they "rule above/below paragprah" and they return me value "1" instead of "2" which is set.

Please could you help me how to get thickness of character throught mentioned RunIterator ?

Thank you, marxin

This topic has been closed for replies.

1 reply

Inspiring
October 15, 2009

What makes you think that stroke weight is a text attribute?

See kGraphicStyleStrokeWeightAttrBoss ...

For the effects of rule-above or rule-below, just try them out in any para-style. Not what you want.

Dirk

Inspiring
October 15, 2009

Oops, see me corrected. Teach an old dog new tricks ...

kTextAttrOutlineBoss is typographically very questionable, anyway.

Don't forget to also set the kTextAttrStrokeColorBoss ( probably in advance ).

Dirk

marxinAuthor
Known Participant
October 16, 2009

Your answer was really correct, it's a property which is connected with text and algo graphics ;)  marxin