formatted-text

How to get the brush used to create a FormattedText in WPF

I have a FormattedText object, like the one you'll normally pass to DrawingContext.DrawText Most of the time, I'll pass this object to DrawingContext.DrawText, but sometimes I'll need to render this text to a file format not supported by WPF. I know how to render the text to this file, what I don't know is how to get the brush that sho...

How do I Convert a FormattedText String into a Geometry-Based Object?

How do I convert a FormattedText string into a geometry-based object? I don't think this question requires much explanation, and I can't think if very many other details I could give ... I just need to convert the FormattedText into something I can use mathematically (geometrically). Any advice is appreciated! ...

iPhone Rich Text Control.

I am about to build an iPhone screen where I need to display formatted text, a link that will kick off a browser, and an email address link that will kick off the mail client. Which widget do I use for that? ...

How can we align different line with different alignement in FomattedText .

I have to draw formatted text in such a manner that last line should always come with right align. for example. "Some text ............................................................" Right align. I can set font size etc in formatted can i set text like it always come in next...

Set superscript and subscript in formatted text in wpf

How can i set some text as subscript/superscript in FormattedText in wpf ...

Display formatted text in a window using python

I make a program in wxpython which displays questions to the user and a radiobox with answers. Questions and answers should be in a database and is formatted text using some mathematics (paranthesis, root squares etc). Could you propose me what widget I should use for such a text and what could be the database? Thanks. ...

Subscript / superscript in FormattedText class?

Hello, I'm creating Text using the FormattedText class - but how can I subscript oder superscript Text when using this class? I found solution on how to do this when using a TextBlock, but I'm using FormattedText and not the TextBlock ): Thanks for any hint! ...