Hi Steven,
Thank you for your update.
You can add the adorner to our entire SfRichTextBoxAdv control not to document content. On further analysis, we have found a workaround solution to meet your requirement.
At present, you can get the coordinates (caret position) of the selected content as Rect using the method “TextPosition.GetRect()”.
We created a simple prototype to add the adorner for selected content. Please find the prototype sample from following link,
Sample:
Sample_CustomAdorner.zip If we provide bounds of the modified content, can you able to add and clear the adorner’s dynamically for changed contents?
Please let us know if you have any other questions.
Regards,
Venkatesan M.