Aspose::Pdf::Facades::FormEditor::AddFieldScript method

FormEditor::AddFieldScript method

Add JavaScript for a PushButton field. If old event exists, new event is added after it.

bool Aspose::Pdf::Facades::FormEditor::AddFieldScript(const System::String &fieldName, const System::String &script)
ParameterTypeDescription
fieldNameconst System::String&The fully qualified field name.
scriptconst System::String&The Java script to be added/placed into a push button field.

ReturnValue

True in case script was added successfully.

See Also