AnsweredAssumed Answered

IFontDisp and StdFontClass

Question asked by markparr on Jul 12, 2012
Latest reply on Jul 17, 2012 by markparr
I notice that several of the ArcGIS examples reference code like:

stdole.IFontDisp font = new stdole.StdFontClass() as stdole.IFontDisp;
font.Name = "Arial";
font.Bold = true;

However whenever I try to compile this I get the error:

Error 7 The type 'stdole.StdFontClass' has no constructors defined

What's missing?