viewAreasEnabled Property

Description

This property is used to control whether view areas will be enabled in the editor.

Valid values are true and false.

By default, view areas are enabled.

To get the value of this property, use the ESDWeb object's get method.

To set the value of this property, use the ESDWeb object's set method or include this property in the configuration information passed to the startup method.

This property can only be set before calling the startup method or by including it in the configuration information passed to the startup method.

Example

editor = new ESDWeb(null, 'editorNode');

...

// Startup the editor with lassoed areas enabled.
editor.startup({
	requestTimeout: 10 * 1000, // Set the request timeout (10 seconds)
	viewAreasEnabled: true,    // Enable view areas
	beginZIndex: 50            // Set the z-index
});