@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The CreateFontIndirect API !!!!C# Signature: [DllImport("gdi32.dll")] static extern IntPtr CreateFontIndirect([In] ref LOGFONT lplf); !!!!User-Defined Types: [LOGFONT] !!!!Notes: None. !!!!Tips & Tricks: Does not work. Declaration from MSDN (http://msdn2.microsoft.com/en-us/library/aa288468(vs.71).aspx) is OK : [DllImport("gdi32.dll", CharSet=CharSet.Auto)] public static extern IntPtr CreateFontIndirect( [In, MarshalAs(UnmanagedType.LPStruct)] LOGFONT lplf // characteristics ); !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: CreateFontIndirect@msdn on MSDN
Edit gdi32.createfont
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.