Hi,
Is there a way to select, copy and paste annotations in a PDF?
I have an eventhandler on the FreeTextAnnotationChanged event and can fetch the selected annotation using the e.Action == AnnotationChangedAction.Select.
private void PdfViewerControl_FreeTextAnnotationChanged(object sender, FreeTextAnnotationChangedEventArgs e)
{
if (e.Action == AnnotationChangedAction.Select)
{
_selectedAnnotation = PdfViewerControl.LoadedDocument.Pages[e.PageNumber - 1].Annotations[e.Name];
}
}
I can also subscribe to the KeyDown event and store the _selectedAnnotation when the user presses CTRL+C. But when the user presses CTRL+V I don't know how to insert the copied annotation object into the document.
Can you tell me a way to make this work?
Hi Wouter,
Currently, we do not have support to “Cut, Copy and Paste free text annotation”. We have logged a feature request for this. But we do not have any immediate plans to implement this feature. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest.
You can track the status of the feature in the below link.
https://www.syncfusion.com/feedback/11263/support-to-cut-copy-and-paste-free-text-annotation
Regards,
Raja Vignesh.
Hello Raja,
A feature request that was added 2 years ago, will this ever be picked up?
For the time being, I can build something myself if there is an option to programmatically add a new annotation to the loaded document... is this possible?
Hello Raja,
Is it also possible to view the added annotation without reloading the whole document? We work with large PDF's that take about 5 seconds to load....