Printable Property

A Boolean value. Specifies whether the layer is printable.

Applies to objects: Layer

Syntax

[[Let] RetVal = ] object.Printable

[Let] object.Printable = SetVal

The Printable 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 Printable property is FALSE, the shapes on the layer won't be printed. You can set the Printable property to FALSE only when the layer is not active.

Example

Dim MyLayer as Layer

' Get second Layer of thisDoc set MyLayer = thisDoc.Layer(2) ' Make it non-printable ' (assume MyLayer is not active layer)
MyLayer.Printable = FALSE

 

See Also

Layer Object, Document Object