You are gettin confused between ASP's RichTextEditor and WPF's RichTextBox. In this line
RichTextEditor rd = new RichTextEditor();
rd.Document = mcFlowDoc;
you are creating a RichTextEditor, which does not have a Document property, instead of a RichTextBox, which does.