Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appending Date and Time with author name in annotation yellow text popup #1077

Open
ashishkanojiay999 opened this issue Apr 8, 2024 · 0 comments

Comments

@ashishkanojiay999
Copy link

Hi Team,
We have the feature to show yellow text annotation popup in ng2 Pdf Viewer. I want to append Date and Time also with text in annotation text yellow popup, I am trying to implement like below code but getting issue when saving the annotation in DB.

pdfDocFactory.createTextAnnotation({
page: annot.PageNumber - 1,
rect: [annot.XCoordinate, annot.YCoordinate, annot.XCoordinate, annot.YCoordinate],
//author: userName,//${annot.AuthorName}, ${new DatePipe('en-GB').transform(annot.CreatedDate, 'MMM d, y, h:mm:ss a')},
icon: AnnotationIcon.Help
});

Can you pls help me out to use correct way to append date and time with author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant