Hi,
in order to distinguish multiple users I'd like to set some default properties to annotations such as:
- author
- subject
- may be default text
so that these properties are shown on new annotations.
"Set as standard" feature in the context menu of an annotation does not work for some reason. And anyway I want to set them programmatically.
Thanks,
Anton.
How to set the default properties to annotations
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 22
- Joined: Thu Apr 02, 2009 9:55 am
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: How to set the default properties to annotations
You can change Author property for commenting tools by specifying "Identity.Name" property
Other properties like subject and text cannot be changed via Viewer ActiveX.
Also - if you want to change some info for an existing annotation in a PDF document you can do this with Java Script. For more information about use of JS with PDF's please look at the Acrobat JavaScript Object Specification, available from Adobe's site.
Code: Select all
CoPDFXCview1.SetProperty("Identity.Name", "Some Name", 0)
Also - if you want to change some info for an existing annotation in a PDF document you can do this with Java Script. For more information about use of JS with PDF's please look at the Acrobat JavaScript Object Specification, available from Adobe's site.
-
- User
- Posts: 22
- Joined: Thu Apr 02, 2009 9:55 am
Re: How to set the default properties to annotations
well, it works with author, though subject would be cool too
Thanks for advice about JavaScript, but that is only for editing existing annotations. Wouldn't help in my case.

Thanks for advice about JavaScript, but that is only for editing existing annotations. Wouldn't help in my case.