Exemplo n.º 1
0
        public void Parse(String txt)
        {
            switch (txt)
            {
            case "V":
                Value = TextOrient.Vertical;
                break;

            case "H":
                Value = TextOrient.Horizontal;
                break;

            case "I":
                Value = TextOrient.Center;
                break;

            default:
                throw new Exception("kicadTextOrientation parse error.");
                break;
            }
        }
Exemplo n.º 2
0
 public KicadLibTextOrientation(TextOrient value)
 {
     Value = value;
 }