How do I manipulate flags enumerations?
To check a flag you can write code of the following form:
bool isSymbolic = font.Flags.HasFlags(FontObject.FontFlags.Symbolic)
To set the flag:
font.Flags |= FontObject.FontFlags.Symbolic
To clear the flag:
font.Flags &= ~FontObject.FontFlags.Symbolic
|