예제 #1
0
 public static Color GetColor(Word w, WFontColor defColor)
 {
     if (defColor != null)
     {
         return(defColor.PColor);
     }
     else
     {
         return(GetColor(w));
     }
 }
예제 #2
0
 public static Font GetFont(Word w, WFontColor defFont)
 {
     if (defFont != null)
     {
         return(defFont.PFont);
     }
     else
     {
         return(GetFont(w));
     }
 }
예제 #3
0
 public static Font GetFont(WFontColor defFont)
 {
     if (defFont == null)
     {
         return(FontContainer.DefaultFont);
     }
     else
     {
         return(defFont.PFont);
     }
 }