Please give a brief summary of your issue:
setStandardStamps not working in the angular
Please describe your issue and provide steps to reproduce it:
I am unable create setStandardStamps in angular. I have followed the official documentations Which provided by the apryse.
Please provide a link to a minimal sample where the issue is reproducible:
Thanks for your patience. Looks like we need to clarify the code sample a bit more on our end. You’d need to specify a port number if you’re using localhost or you can provide a relative path based on your web server.
Double check what your port # is when building/running your Angular project. By default I think it’s 4200.
For reference, I was able to get it working with this sample using a relative path:
const { documentViewer } = instance.Core;
const tool = documentViewer.getTool('AnnotationCreateRubberStamp');
// Your relative path will most likely be different.
// Don't expect this to work for you.
const pathToLogo = '/envs/blank/logo.png';
tool.setStandardStamps([
'Approved',
'AsIs',
pathToLogo,
]);
Let me know how this works for you! I’ll add the documentation improvement to our backlog.