Extensibility > Graphics Builder Automation Interface > Page Properties Functions > PageEnvironmentAdd

PageEnvironmentAdd

Adds a new environment variable to the current page.This function will return an error if an environment variable with the specified name already exists

Syntax

PageEnvironmentAdd(name, value)

Name:

Specifies the name of the new environment variable.

Value:

Specifies the value to associate with the new environment variable

Return Value

0 (zero) if successful, otherwise an error is returned.

Example

Adding a new environment variable:

GraphicsBuilder.PageEnvironmentAdd("Foo", "Bar")

Related Functions

PageEnvironmentFirst

Published June 2018