page is rendered to PDF.
Note that you must have the UseScript key set to true or you will get an
access denied error.
This kind of script can be used for a variety of purposes. For
example, you might wish to hide background images or get pre-render
information from the document.
You can provide a return value by setting an "abcpdf" property
in the documentElement. For example:
document.documentElement.abcpdf = "my return
The return value can be accessed using the GetScriptReturn method with
the ID returned from Doc.AddImageUrl or