PDA

View Full Version : get font name with OverlayBitmapGetFont



rdg
July 7, 2004, 11:50:33
Hi,
we are using the activex controls in National Instruments CVI (c-compiler).

I tried to get the default font name by using "ICImagingControl_IOverlayBitmapGetFont". How do I get the font name out of the data type "ICImagingControlType_IFont"??

Many thanks
Christian

Stefan Geissler
July 7, 2004, 12:40:38
Hello,

The IFont COM interface has a method "get_font" that returns the font name.

For a complete reference of IFont see here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/ctin_a2o_4cms.asp