ערוך

שתף באמצעות


AxHost.GetIFontDispFromFont(Font) Method

Definition

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

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

Parameters

font
Font

The font to create an IFontDisp object from.

Returns

The IFontDisp object created from the specified font or null if font is null.

Exceptions

The Unit property value is not Point.

Applies to

See also