PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Using multiple properties of FontStyle

Reply

Using multiple properties of FontStyle

 
Thread Tools Rate Thread
Old 22-07-2006, 10:06 PM   #1
Nathan Sokalski
Guest
 
Posts: n/a
Default Using multiple properties of FontStyle


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
njsokalski@hotmail.com
http://www.nathansokalski.com/


  Reply With Quote
Old 24-07-2006, 12:14 AM   #2
MyndPhlyp
Guest
 
Posts: n/a
Default Re: Using multiple properties of FontStyle


"Nathan Sokalski" <njsokalski@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.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off