AxHost.GetIFontFromFont(Font) 메서드

정의

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

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

매개 변수

font
Font

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

반환

Object

지정된 글꼴로 만든 IFont 개체이거나, fontnull이거나 IFont를 만들 수 없으면 null입니다.

예외

Unit 속성 값이 Point가 아닌 경우

적용 대상

추가 정보