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.GetIFontFromFont

Maps from a System.Drawing.Font object to an OLE IFont

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

Parameters

font
the System.Drawing.Font object to convert

Return Value

the resulting OLE IFont

See Also

AxHost Class | AxHost Members | System.WinForms Namespace