Uredi

Deli z drugimi prek


AxHost.GetFontFromIFontDisp(Object) Method

Definition

Returns a Font created from the specified OLE IFontDisp object.

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

Parameters

font
Object

The IFontDisp to create a Font from.

Returns

The Font created from the specified IFontDisp, DefaultFont if the font could not be created, or null if font is null.

Applies to

See also