public ExFont(ref WinAPI.LogFont lpLogFont) { m_hFont = ExAPI._font_createfromlogfont(ref lpLogFont); if (m_hFont == IntPtr.Zero) { throw new ExException(ExAPI.Ex_GetLastError(), "Create Font faild."); } }
public ExFont(ref WinAPI.LogFont lpLogFont) { m_hFont = (IntPtr)ExAPI._font_createfromlogfont(ref lpLogFont); }