Pageflex Document Action API
RemoveVariables Method (exposeHiddenContent)
Namespaces > Pageflex.Scripting > Document > RemoveVariables(Boolean)
Removes any Variable assigned to the element, and also removes any variables assigned to descendant elements.
Syntax
Parameters
- exposeHiddenContent (Boolean)
- Specifies how to handle variable elements which are hidden, i.e. whose Visible property is set to falseFalsefalse. If exposeHiddenContent is trueTruetrue, hidden variable elements will become visible. If exposeHiddenContent is falseFalsefalse, hidden variable elements will remain hidden.
Return Value
Returns the number of variables removed.
Remarks
Any variables assigned to this element or its descendants are removed. To remove a variable from this element without
affecting its descendants, see Variable
Exceptions
Exception | Condition |
---|---|
StaleScriptingObjectException | This object's associated internal object no longer exists. |
See Also
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)