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)
| Parameter | Type | Description |
|---|---|---|
| fieldName | const System::String& | The fully qualified field name. |
| script | const System::String& | The Java script to be added/placed into a push button field. |
ReturnValue
true if field scrip was successfully set.
See Also
- Class String
- Class FormEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++