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(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 if field scrip was successfully set.

See Also