My C# program threw an exception from the following method: SizeF size = Graphics.MeasureString( text, font ); Unfortunately, the exception’s message was rather obscure: “Parameter is invalid.”  After an investigation, I discovered the error occurred because the font had been previously disposed.  Unfortunately, the Font class does not have the typical IsDisposed property, so there Related posts: Change Font Size Convert Between Synchronous and Asynchronous Change Font Style

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz