CreateResetFormAction
IPDFDocument4 :: Actions

See Also
Collapse All

This method creates an action for resetting PDF form fields.

Syntax

LONG CreateResetFormAction ()
Return value
Number of the action

Remarks

This method creates an action that allows users to reset form fields in a PDF document. Use AddControlToAction to associate edit fields with this action and reset the fields. A Reset Form action resets selected PDF controls to their default values. The default value is the value of the control at time of the PDF document creation.

The return value is an action identifier in the document's actions collection and can be used in OnOpenDocumentAddControlToAction, OnControlMouseDown and other properties (see Annotations).

See the CreateImportDataAction method for examples.

See Also

Reference