Hi all,
I am updating some code and it appears the use of InsertReadOnlyPage(DocumentPosition start, DocumentPosition end) from RadDocument is obselete and replaced by RadDocumentEditor.InsertReadOnlyPage().
The original call was the following (note the parameters):
1.editor.Document.InsertReadOnlyRange(start, end);Would this be equivalent the equivalent update?
1.RadDocumentEditor _radDocEditor = new RadDocumentEditor(editor.Document);2._radDocEditor.Document.Selection.AddSelectionStart(start);3._radDocEditor.Document.Selection.AddSelectionEnd(end);4._radDocEditor.InsertReadOnlyRange();