Home All Groups Group Topic Archive Search About

Using multiple properties of FontStyle

Author
22 Jul 2006 8:06 PM
Nathan Sokalski
I want to create a Font object that is both Italic and Strikeout. However,
in the Font constructor there is only room for one FontStyle property. How
can I make my Font use more than one FontStyle property? Thanks.
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/

Author
23 Jul 2006 10:14 PM
MyndPhlyp
"Nathan Sokalski" <njsokal***@hotmail.com> wrote in message
news:%23iiiO3prGHA.3384@TK2MSFTNGP04.phx.gbl...
> I want to create a Font object that is both Italic and Strikeout. However,
> in the Font constructor there is only room for one FontStyle property. How
> can I make my Font use more than one FontStyle property? Thanks.

Or and Xor.

If you want to detect if the bit is set, use And.