Hello All,
I'm adding a custom stamp annotation : this.pdfviewerControl.customStampItems = [{ customStampName: "Image", customStampImageSource: 'data:image/png;base64,.....}]. I need to change the custom stamp image for a specfifc annotation , I tried the following but its not working.
var index = this.pdfviewerControl.annotationCollection.findIndex(x => x.annotationId === this.formData["annotation"].annotationId);
this.pdfviewerControl.annotationModule.selectAnnotation(this.pdfviewerControl.annotationCollection[index].annotationId);
this.pdfviewerControl.annotationCollection[index].stampAnnotationPath = 'data:image/png;base64,' + "newImageString";
this.pdfviewerControl.annotationModule.editAnnotation(this.pdfviewerControl.annotationCollection[index]);
Thanks,
Mohamed