AxHost.GetIFontDispFromFont(Font) 메서드

정의

지정된 Font 개체로 만든 OLE IFontDisp 개체를 반환합니다.

protected:
 static System::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

매개 변수

font
Font

IFontDisp 개체를 만드는 글꼴입니다.

반환

Object

지정된 글꼴로 만든 IFontDisp 개체이거나, fontnull이면 null입니다.

예외

Unit 속성 값이 Point가 아닌 경우

적용 대상

추가 정보