Colored Property

A Boolean value, that indicates whether a layer is colored.

Applies to objects: Layer

Syntax

[[Let] RetVal = ] object.Colored

[Let] object.Colored = SetVal

The Colored property syntax has these parts:

Part Description
object A reference to an instance of the object.
RetVal A Boolean type variable.
SetVal A Boolean value.

Remarks

If the Colored property is TRUE, all objects on the layer are displayed in the color, defined by the Color property. Otherwise the objects are displayed in their original colors.

Example

This example demonstrates using the Colored property.

Dim MyLayer as Layer

' Get Layer 2 from thisDoc set MyLayer = thisDoc.Layer(2) ' Make it colored MyLayer.Colored = True

 

See Also

Layer Object, Document Object