JavaScript > JavaScript for Acrobat API Reference > JavaScript API > Doc > Doc properties > selectedAnnots

selectedAnnots
 
C
An array of Annotation objects corresponding to all currently selected markup annotations.
See also getAnnot and getAnnots.
Type
Array
Access
R
Example
Show all the comments of selected annotations in the console.
	var aAnnots = this.selectedAnnots;
	for (var i=0; i < aAnnots.length; i++)
		console.println(aAnnots[i].contents);

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.420.html