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(System::String fieldName, System::String script)
ParameterTypeDescription
fieldNameSystem::StringThe fully qualified field name.
scriptSystem::StringThe Java script to be added/placed into a push button field.

ReturnValue

True in case script was added successfully.

See Also