How do we know programmatically that the selection done by the user is a single line selection and doesnt contain any combination. We want to know how will we identify if the user has selected table/images or plain text.
1 Answer, 1 is accepted
answered on 19 Feb 2014, 06:05 PM
Thank you for contacting us!
If you are going to identify the elements in the user's selection, I would suggest you to create a new document from the selection. Then you should enumerate its table/image elements and determine whether they exist.
The following code-snippet demonstrates how this could be accomplished:
RadDocumentEditor documentEditor = new RadDocumentEditor(new RadDocument());