Dundas Charting Tips and Tricks > Changing chart attributes > How do I change the font point size in a legend without getting an error?
Search the FAQ for entries containing:
When trying to change the point size using code (Visual Basic, in this case) you will get the following error when compiling:

In order to avoid getting this error you will have to create a new Font object as seen below with the properties that you want.
This will resolve the issue.
