Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, 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!

0
Votes

I've seen you have added a Name property in the AnnotationChangedEventArgs but it is only the getter we need to be able to SET the name/ID for annotations, when an annotation gets Added it means is a new one so it should have no name yet as it was just created on the viewer.  what we need is this 


private void PdfViewerControl_ShapeAnnotationChanged(object sender, Syncfusion.Windows.PdfViewer.ShapeAnnotationChangedEventArgs e)  
        {  
            if (e.Action == Syncfusion.Windows.PdfViewer.AnnotationChangedAction.Add)  
            {  
                // addedAnnotationName = e.Name;  THIS IS YOUR CODE 
               
                e.Name = "OUR_OWN_NAMING_CONVENTION"  // this is what we need. 
            }  
        }