Note:
This is a Windows-only feature. In addition, the client machine must have its
default mail program configured to be MAPI enabled in order to use this
method.
print
Parameters: bInteractive, [nFirstPage], [nLastPage], [bSilent]
Returns: nothing
Use this function to print all or a specific number of pages of the document. If
bInteractive
is
true,
Acrobat displays the standard print dialog and all other parameters are ignored. The
optional
nFirstPage
and
nLastPage
parameters specify the range of pages to print. If using
nFirstPage
and
nLastPage
parameters
bInteractive
must be
false.
Set the optional
bSilent
flag
to
true
if you don’t want to display the cancel dialog box while the document is printing. The
default value for
bSilent
flag is
false.
Example:
// This Example will print current page the document is on
this.print(false, this.pageNum, this.pageNum);
resetForm
Parameters: [aFields]
Returns: nothing
Use this method to reset the field values within a document. If the
aFields
parameter is
present, then only the fields indicated are reset. If not present or null then all fields in the form
are reset. You can include non-terminal fields in the array. Use this as a simple shortcut for
having a whole subtree reset. For example, if you pass “name” as part of the fields array then
“name.first”, “name.last”, etc. will be reset.
var fields = new Array(2);
fields[0] = "P1.OrderForm.Description";
fields[1] = "P1.OrderForm.Qty";
this.resetForm(fields);
scroll
Parameters: xOrigin, yOrigin
Returns: nothing
Acrobat Forms - JavaScript Object Specification
28
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.