Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi,
When I export a free text annotation using ExportAnnotations method in FDF format, I can then reimport this annotation later when opening my PDF file, BUT:
To test the first problem, I just added a button to the PdfViewer Sample with this code:
private MemoryStream _annotationStream = null;
private void Button_Clicked(object sender, EventArgs e)
{
if (_annotationStream == null)
{
_annotationStream = pdfViewerControl.ExportAnnotations(Syncfusion.Pdf.Parsing.AnnotationDataFormat.Fdf) as MemoryStream;
pdfViewerControl.ClearAllAnnotations();
}
else
{
pdfViewerControl.ImportAnnotations(_annotationStream, Syncfusion.Pdf.Parsing.AnnotationDataFormat.Fdf);
_annotationStream = null;
}
}
I added a texte with accent, I clicked on the button. The annotation is exported, and cleard. I reclick on the button and the annotation is reimported using the same stream...and the reimported texte contains bad charaters.
Regards.
Eric DUCOS