Using multiple properties of FontStyle

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

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 said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top