Uređivanje

Dijeli putem


AxHost.GetIFontFromFont(Font) Method

Definition

Returns an OLE IFont object created from the specified Font object.

protected:
 static System::Object ^ GetIFontFromFont(System::Drawing::Font ^ font);
protected static object GetIFontFromFont (System.Drawing.Font font);
protected static object? GetIFontFromFont (System.Drawing.Font? font);
static member GetIFontFromFont : System.Drawing.Font -> obj
Protected Shared Function GetIFontFromFont (font As Font) As Object

Parameters

font
Font

The font to create an IFont object from.

Returns

The IFont object created from the specified font, or null if font is null or the IFont could not be created.

Exceptions

The Unit property value is not Point.

Applies to

See also