Exemple #1
0
 public Font GetFont(FontFormats[] formats)
 {
     Font font = new Font();
     font.Formats = new List<FontFormats>(formats);
     return font;
 }
Exemple #2
0
 public static Font GetFont(FontFormats format)
 {
     Font font = new Font();
     font.Formats.Add(format);
     return font;
 }