Forums

Full Version: How to alter font style for drawing text?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

when I try to alter the font style for drawing text using the DrawTextLayer class, I get a NullReferenceException:

var style = new Vcl.FontStyles();
style.Bold = font.Bold; // Here the exception is thrown

Is this a bug or is there another way to alter the font style?

I'm using version 5.0.2.0 of the VideoLab .Net components.

Thank you!
Christian
Reference URL's