Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to alter font style for drawing text?
04-23-2012, 12:25 AM
Post: #1
Question How to alter font style for drawing text?
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)