jbassking
jbassking

Reputation: 535

Is it possible to add a stroke to a TextBlock

I've been searching around and haven't found an answer on how to do this.

Is there any way to add a stroke to TextBlock in Expression Blend 4.0? I have to mimic text that was originally done in Flash and the text has to be changed dynamically so I can't use an image of it.

Thanks.

Upvotes: 0

Views: 110

Answers (1)

Chris W.
Chris W.

Reputation: 23280

Short answer, is no. You can not just apply a Stroke to a TextBlock

However, there is the ability to utilize a part of the FormattedText class to "draw" or Format your Text to Geometry data which you could then apply a Stroke to it as a Path even if it is dynamic. Read here for more details you will likely find useful and an example of exactly what you're looking for.

Hope this helps.

Upvotes: 0

Related Questions