Пример #1
0
        public void Parse(String txt)
        {
            switch (txt)
            {
            case "L":
                Value = HTextJustify.Left;
                break;

            case "R":
                Value = HTextJustify.Right;
                break;

            case "C":
                Value = HTextJustify.Centre;
                break;

            default:
                throw new Exception("KicadHTextJustify parse error.");
                break;
            }
        }
Пример #2
0
 public KicadLibHTextJustify(HTextJustify justyfy)
 {
     Value = justyfy;
 }