Aspose::Pdf::Facades::FormEditor::SetFieldScript method

FormEditor::SetFieldScript method

Set JavaScript for a PushButton field. If old JavaScript existed, it will be replaced by the new one.

bool Aspose::Pdf::Facades::FormEditor::SetFieldScript(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 if field scrip was successfully set.

See Also