Hi,
My document contains a lot of custom annotations, where each annotation has self generated unique ID.
Is it possible to bring a defined annotation into view based on its ID value?
i.e. If the annotation in question is at the top of the first page, but currently I have the last document page in view, can I make radrichtextbox auto scroll to the annotation when required?
Is it just the case of enumerating through the document searching for the specific annotation ID then setting the caret position to the position of the found annotation field?
Thank you for your time,
Rob
My document contains a lot of custom annotations, where each annotation has self generated unique ID.
Is it possible to bring a defined annotation into view based on its ID value?
i.e. If the annotation in question is at the top of the first page, but currently I have the last document page in view, can I make radrichtextbox auto scroll to the annotation when required?
Is it just the case of enumerating through the document searching for the specific annotation ID then setting the caret position to the position of the found annotation field?
foreach
(AnnotationRangeMarkerBase annotationMarker
in
paragraph.EnumerateChildrenOfType<AnnotationRangeMarkerBase>().ToList<AnnotationRangeMarkerBase>())
{
//....
//Move caret to annotation if ID field is a match
//....
}
Thank you for your time,
Rob