コード例 #1
0
        public static int FontWeight(ResumeFontWeight fontWeight)
        {
            switch (fontWeight)
            {
            case ResumeFontWeight.Bold:
                return(Font.BOLD);

            case ResumeFontWeight.BoldItalic:
                return(Font.BOLDITALIC);

            case ResumeFontWeight.Italic:
                return(Font.ITALIC);

            default:
                return(Font.NORMAL);
            }
        }
コード例 #2
0
 public ResumeFont SetFontWeight(ResumeFontWeight fontWeight)
 {
     FontWeight = fontWeight;
     return(this);
 }
コード例 #3
0
 public ResumeFont()
 {
     Size       = 10f;
     FontWeight = ResumeFontWeight.Normal;
 }