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; } }
public KicadLibTextOrientation(TextOrient value) { Value = value; }