Pageflex Document Action API
GetColor Method (name)
Namespaces > Pageflex.Scripting > Document > GetColor(String)
Returns the Color with the specified name defined for the document.


- name (String)
- Name of color to retrieve.

The Color with the specified name defined for the document.

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)