Hello,
When I use InsertFragment(document) to insert text from one document to another it is getting inserted with a new paragraph and a new line after the fragment. But I want to insert text without that. It must be exactly as in the original file.
I've tried this code:
But it was wrong if there were CustomAnnotationRange in the copied fragment (CopyContentFromOverride is not called and values of my properties are lost).
Can you help me?
Thanks in advance.
Alexandre.
When I use InsertFragment(document) to insert text from one document to another it is getting inserted with a new paragraph and a new line after the fragment. But I want to insert text without that. It must be exactly as in the original file.
I've tried this code:
var editor =
new
RadDocumentEditor(document);
editor.Document.Selection.SelectAll();
var fragment =
new
DocumentFragment(editor.Document.Selection);
But it was wrong if there were CustomAnnotationRange in the copied fragment (CopyContentFromOverride is not called and values of my properties are lost).
Can you help me?
Thanks in advance.
Alexandre.