Export PDF annotation to known type

Hello,

I am working on a project that use PDF Viewer component to add/edit annotations. The app needs to save annotations when close document, and restore them when open same document.

The 2 functions ExportAnnotation() and ImportAnnotation() works well and does what expected. However, the exported data is a base 64 encoded JSON that serialized product of Internal classes. The C# "internal" classes make it difficult to serialize/deserialize annotation objects from the outside.

I am wondering there is a way to access these classes and bring back the annotation objects. 

Thank you,


1 Reply

SK Shamini Kiruba Sobers Syncfusion Team May 30, 2022 04:49 PM UTC

Hi Tu,


As you mentioned, ExportAnnotation() and ImportAnnotation() methods are working fine and we won’t be exposing our internal functions or operations. Could you please let us know why you need those internal classes to be exposed? Kindly tell us your requirement in more detail so that we can provide a better solution at the earliest.


Regards,

Shamini


Loader.
Up arrow icon