public RtfDocument(string path, Encoding enc) : this(enc) { RtfTree tree = new RtfTree(); //Load and parse RTF document tree.LoadRtfFile(path); this.fontTable = tree.GetFontTable(); this.colorTable = tree.GetColorTable(); this.encoding = tree.GetEncoding(); this.mainGroup = tree.MainGroup; }