Text - Adobe 12001196 - Acrobat - Mac Manual

Javascript
Hide thumbs Also See for 12001196 - Acrobat - Mac:
Table of Contents

Advertisement

Region/Name
This script executes
when field is signed
An Acrobat 5 Example
Here is a complete example to create, sign, and lock a signature field using JavaScript using
the AFSignature_Format method defined in Aform.js in Acrobat 5 and later:
// Create signature field dynamically
var f = this.addField("mySignature", "signature", 0,
f.strokeColor = color.black;
// set it to lock when signed
f.setAction("Format",
var ppklite = security.getHandler("Adobe.PPKLite");
ppklite.login("dps017", "/C/signatures/DPSmith.pfx");
f.signatureSign(ppklite,
ppklite.logout();

Text

The Text Field Properties dialog has seven tabs: General, Appearance, Options, Actions,
Format, Validate, and Calculate.
General Tab
The General tab shows the same set of properties as for buttons. For details, see the
General Tab
Appearance Tab
The Appearance tab shows the same set of properties as for buttons. For details, see the
Appearance Tab
Options Tab
In the Options tab, the default text can be entered as various text field attributes can be set.
Region/Name
Alignment
Acrobat JavaScript Scripting Guide
See Reference
setAction
[200, 500, 500, 400]);
'AFSignature_Format("THESE", new Array ("mySignature"));' );
{ password: "dps017",
location: "San Jose, CA",
reason: "I am approving this document",
contactInfo: "dpsmith@adobe.com",
appearance: "Fancy"});
for buttons.
for buttons.
See Reference
alignment
Using Acrobat JavaScript in Forms
Creating form fields programmatically
Example
new Array ("mySignature")
Example
f.alignment = "center";
// choose handler
// login
// sign it
// logout
4
73

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat 6.0

Table of Contents