Registering your custom function.
注册定制函数。
Using the custom function inside the form
使用表单内部的定制函数
Implementing the custom function selector.
实现自定义函数选择器。
Defining a unique ID for your custom function.
为定制函数定义惟一的ID。
Add help to your custom function by calling the help method.
通过调用help方法,向定制函数添加帮助。
The third argument is our custom function that we want to call.
第三个参数是想要调用的定制函数。
Creating the evaluate method that will contain your custom function.
创建包含定制函数的evaluate方法。
This method is called whenever a custom function needs to be executed.
只要需要执行定制函数,就调用该方法。
If a file is selected, then run the custom function; otherwise, do nothing.
如果选择了文件,则运行定制函数;否则,不进行任何操作。
This method contains your custom function and is also described in further detail later.
该方法包含定制函数,稍后将进一步对它进行详述。
The sample custom function accesses the file information and displays the results in the form.
示例定制函数将访问文件信息并在表单中显示结果。
Appendix B shows sample code for a custom Function Selector.
附录B显示了一个自定义函数选择器的示例代码。
Appendix B shows sample code for a custom Function Selector.
附录B显示了一个自定义函数选择器的示例代码。
应用推荐