|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetFieldNames () |
| Get all field names from the array of current hide action. More... | |
| def | GetHideState () |
| Get the hide state. More... | |
| def | SetFieldNames (field_names) |
| Set field name array. More... | |
| def | SetHideState (is_hide) |
| Set the hide state. More... | |
Hide action is to hide or show specified form fields. Class fsdk.HideAction is derived from Action and offers functions to get/set hide action data.
| def fsdk.HideAction.GetFieldNames | ( | ) |
Get all field names from the array of current hide action.
A hide action can have an array identifying which fields to hide or to show. This array is necessary to a hide action.
| def fsdk.HideAction.GetHideState | ( | ) |
Get the hide state.
| def fsdk.HideAction.SetFieldNames | ( | field_names | ) |
Set field name array.
A hide action can have an array identifying which fields to hide or to show. This array is necessary to a hide action. So, for a new hide action, user should call this function to set the array.
| [in] | field_names | An array of form fields' names, to specify which fields is to hide or show. Field name can be retrieved by function fsdk.Field.GetName . |
| def fsdk.HideAction.SetHideState | ( | is_hide | ) |
Set the hide state.
For a new hide action, if no hide state is set, true would be used by default,
| [in] | is_hide | true means to hide specified fields, and false means to show specified fields. |