NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AxHost.GetFontFromIFontDisp

Maps from an IFontDisp to a System.Drawing.Font object

[Visual Basic]
Public Shared Function GetFontFromIFontDisp( _
   ByVal font As IFontDisp _
) As Font
[C#]
public static Font GetFontFromIFontDisp(
   IFontDisp font
);
[C++]
public: static Font* GetFontFromIFontDisp(
   IFontDisp* font
);
[JScript]
public static function GetFontFromIFontDisp(
   font : IFontDisp
) : Font;

Parameters

font
the IFontDisp to convert

Return Value

the resulting Font

See Also

AxHost Class | AxHost Members | System.WinForms Namespace