Set the user name of a markup

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

User avatar
MartinCS
User
Posts: 153
Joined: Thu Apr 07, 2011 10:01 am

Set the user name of a markup

Post by MartinCS »

Hello,

I'm searching for a possibility to set the name of the creator of a markup displayed in the markup toolbar. The viewer uses the windows login/user name by default.

Is there an option using JavaScript or the SDK?


Thank you,
Martin
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: Set the user name of a markup

Post by Stefan - PDF-XChange »

Hello Martin,

This information is stored in the "author" property for all annotations, so using JS you could both access and modify it if needed.

Best,
Stefan