Doc object

Used for interfacing with active documents via JavaScript code.

 

Example: Retrieves full path of the PDF file and stores it in the variable sPath.

 

var sPath = doc.path;

 

Properties
dirty
disclosed
documentFileName
filesize
info
layout
numFields
numPages
path
pageNum
URL
zoom

zoomType

 

Methods
addIcon
addField
addLink
closeDoc
deletePages
extractPages
exportAsFDF
flattenPages
getField
getIcon
getNthFieldName
getPageBox
getPageNthWord
getPageNumWords
importAnFdf
importIcon
insertPages
mailDoc
mailForm
print
removeIcon
removeField
resetForm
saveAs
selectPageNthWord
submitForm