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; } }
public KicadLibHTextJustify(HTextJustify justyfy) { Value = justyfy; }