Change annotation properties...

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

lidds
User
Posts: 514
Joined: Sat May 16, 2009 1:55 pm

Change annotation properties...

Post by lidds »

Currently when you place an annotation element in a PDF e.g. a line or sticky it takes the OS login user name and puts that against the annotation item. Is it possible for me to change this to display different info. The reason for this is that I have an application that I am writing using your ActiveX, so what I want to be able to do is display the username from my application instead of the Windows OS username?

Thanks

Simon
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Change annotation properties...

Post by Vasyl - PDF-XChange »

Hi, Simon.

You may specify the custom name by:

Code: Select all

ax.SetProperty("Identity.Name", "My Custom Name", 0);
After this the "My Custom Name" text will be used for all new annotations in the author tag.

Best
Regards.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.