Exemplo n.º 1
0
 /// <summary>
 /// Constructs a font from a font family name, the size and font style.
 /// </summary>
 /// <param name="fontFamilyName">Name of the font family.</param>
 /// <param name="fontSize">Size of the font.</param>
 /// <param name="fontStyle">The font style.</param>
 /// <returns>A <see cref="FontX"/> instance describing the font. It can then be used with the FontManager to get a Gdi+ font instance.</returns>
 public static FontX GetFontX(string fontFamilyName, double fontSize, FontXStyle fontStyle)
 {
     return(FontX.InternalCreateFromNameSizeStyle(fontFamilyName, fontSize, fontStyle));
 }