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)
Parameter | Type | Description |
---|---|---|
fieldName | System::String | The fully qualified field name. |
script | 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 FormEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++