Opacity Property

 

Opacity returns or sets the opacity of the object. Returns an integer between 0 and 100.

 

Syntax

object.Opacity=Value

 

Parameter

Type

Description

Value

Integer (%)

0 = Transparent

100 = Opaque

 

Example 1

This example demonstrates how to set the opacity of a BaseLayer object to 25%.

Debug.Print BaseLayer.Opacity=25

 

Example 2

FillFormat.ForeColorRGBA.Opacity = 75

 

Example 3

This script displays all the methods and properties in the Window object.

 

Used by: ClassedPostLayer Object, ColorReliefLayer Object, ColorRGBA Object, ContinuouscolorScale Object, ContourLayer Object, DiscreteColorScale Object,Graticule Object, PostLayer Object, RasterBaseLayer Object, Surface Object,VectorBaseLayer Object, VectorLayer Object, ViewshedLayer Object, WatershedLayer Object, Wireframe Object