This is a migrated thread and some comments may be shown as answers.

Document Assembly

0 Answers 58 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Clifford
Top achievements
Rank 1
Clifford asked on 10 Dec 2013, 01:53 AM
I have been usingDocumentFragment to assemble a RadDocument from RadDocuments, but need to maintain the section headers from the original document. Currently they get dumped when assembling the document.

			var radDocument = RadDocumentHelper.GetDefaultDocument();
			foreach (var item in ClausesSelectedList)
			{
				radDocument = item.ClauseData.GetRadDocument(FieldOrderNumber, RevNumber.Value);
				var section = new Section();
				var frag = new DocumentFragment(radDocument);
				var docPos1 = new DocumentPosition(radDocument);
				docPos1.MoveToLastPositionInDocument();
				radDocument.InsertFragment(frag, docPos1);
			}

No answers yet. Maybe you can help?

Tags
RichTextBox
Asked by
Clifford
Top achievements
Rank 1
Share this question
or