AxHost.GetIFontFromFont(Font) 메서드

정의

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

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

매개 변수

font
Font

IFont 개체를 만들 글꼴입니다.

반품

지정한 글꼴에서 만든 IFont 개체이거나 nullfont를 만들 수 없는 경우 null

예외

속성 값이 Unit 아닙니다 Point.

적용 대상

추가 정보