Exemple #1
0
 public static extern bool ChooseFontW(ref ChooseFontW param0);
Exemple #2
0
 /// <summary>
 /// The UNICODE version of ChooseFont function creates a Font dialog box that enables
 /// the user to choose attributes for a logical font. These attributes include a
 /// typeface name, style (bold, italic, or regular), point size, effects
 /// (underline, strikeout, and text color), and a script (or character set).
 /// </summary>
 /// <param name="lpcf">Pointer to a CHOOSEFONTW structure that contains information
 /// used to initialize the dialog box. When ChooseFont returns, this structure contains
 /// information about the user's font selection</param>
 /// <returns>If the user clicks the OK button of the dialog box, the return value is
 /// nonzero. The members of the CHOOSEFONTW structure indicate the user's selections.
 /// If the user cancels or closes the Font dialog box or an error occurs, the return
 /// value is zero. To get extended error information, call the CommDlgExtendedError
 /// function </returns>
 public static bool ChooseFontW(ref ChooseFontW lpcf)
 {
     return(Native.ChooseFontW(ref lpcf));
 }