Richtextbox SelectionFont.Size when multiple sizes are selected

Posted by Jiri on Stack Overflow See other posts from Stack Overflow or by Jiri
Published on 2010-05-26T20:34:24Z Indexed on 2010/05/26 20:51 UTC
Read the original article Hit count: 550

Filed under:
|
|
|

Hi,

When a selection in WindowsForms RichTextbox uses two or more different font sizes (eg. you select text with font size 9 and some other text with font size 16 in the same selection), SelectionFont.Size always returns 13. Is there any way to detect that two different sizes are selected?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET