Hide action object.
More...
Hide action object.
- Deprecated:
- Action related APIs have been moved under each object.
- See also
- Annot
-
Widget
-
PDFFormField
-
PDFDoc
◆ getFieldNames()
| HideAction::getFieldNames |
( |
| ) |
|
|
inline |
Get all field names from the array of current hide action.
- Returns
- string[] - An array of field names.
◆ getHideState()
| HideAction::getHideState |
( |
| ) |
|
|
inline |
Get the hide state.
- Returns
- boolean - true means to hide specified fields , and false means to show specified fields.
◆ setFieldNames()
| HideAction::setFieldNames |
( |
|
fieldNames | ) |
|
|
inline |
Set field name array.
- Parameters
-
| fieldNames | string[] - An array of form fields' names, to specify which fields is to hide or show. |
- Returns
- Promise<object> - An action object.
◆ setHideState()
| HideAction::setHideState |
( |
|
hideState | ) |
|
|
inline |
Set the hide state.
- Parameters
-
| hideState | boolean - true means to hide specified fields, and false means to show specified fields. |
- Returns
- Promise<object> - An action object.