Hello Philipp,
Thanks for getting back to us! Straight to your questions:
1)Obtaining the vertical offset and respectively scrolling to particular offset can be achieved in the following way:
2) Obtaining/setting the zoom level can be achieved using the ScaleFactor property of RadRichTextBox:
In this case Size(1,1) is equivalent to 100% zoom level.
3) Adding a bookmark from code is possible with the InsertBookmark() method:
You can then move the caret to the bookmark using its name by simply calling the GoToBookmark method of RadDocument or like this:
When it comes to your comment about RTF, I am afraid I am not sure what you mean. Could you give some kind of example so that we can better understand your needs?
I hope this helps! We're awaiting your reply.
Regards,
Petya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application.
Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>