Pageflex Document Action API
GetColor Method (name)
Namespaces > Pageflex.Scripting > Document > GetColor(String)
Returns the Color with the specified name defined for the document.
Syntax
Parameters
- name (String)
- Name of color to retrieve.
Return Value
The Color with the specified name defined for the document.
Exceptions
Exception | Condition |
---|---|
ColorNotFoundException | The specified color is not defined in the current document. |
ArgumentNullException | The value supplied for name was nullNothingnullptr. |
StaleScriptingObjectException | This object's associated internal object no longer exists. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)