EnvironmentBackgroundColor Option

 

The EnvironmentBackgroundColor option changes the background color being shown in the Viewer window. The OptionValue is a color name.

 

Syntax

object.Construct(“ModifyModule”)

object.Option(“Module”, “Viewer Window”)

object.Option(“EnvironmentBackgroundColor”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to alter the Viewer window background color setting.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Viewer Window")

  CommandApi.Option ("EnvironmentBackgroundColor", "20% Black")

  CommandApi.Do()

 

Used by: Environment

 

 

See Also

Automation Model