Document Assembly

1 posts, 0 answers
  1. Clifford
    Clifford avatar
    25 posts
    Member since:
    Sep 2013

    Posted 09 Dec 2013 Link to this post

    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);
    			}
    
Back to Top