How to alter font style for drawing text? - Printable Version +- Forums (http://mitov.com/forum) +-- Forum: .NET 2.0 - 4.0 Components (/forum-8.html) +--- Forum: VideoLab (/forum-21.html) +--- Thread: How to alter font style for drawing text? (/thread-307.html) |
How to alter font style for drawing text? - twoeyes - 04-23-2012 12:25 AM 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 |