next up previous contents index
Next: Setting Document Information Up: Document Information Previous: Listing Fonts   Contents   Index

Getting Document Information

There are a number of functions for getting document information. Each function takes the document as an argument and returns an integer or string.


\begin{framed}
\noindent\textit{Function Summary}\\ [2mm]
\noindent\begin{tabula...
...& \verb!date!& Get the modification date of a document
\end{tabular}\end{framed}
(Dates are a special kind of string - see Appendix A). For example, to return the author of a document:
\begin{framed}
\noindent\begin{tabular}{rl}
\small\sffamily\textbf{C\char93 } &
...
...tring = Cpdflib.GetAuthor(pdf)!
\end{minipage}\\ [5mm]
\end{tabular}\end{framed}



root 2008-12-01