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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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:

  1. If my text contains accented charater like é,à,è...these characters are not well reimproted with correct coding.
  2. The annotation is no more selectable (we cannot move it in other place or resize the text box)



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