IsTransparent Property

A Boolean value. If True, the color is transparent. Otherwise is False.

Applies to: Color object, ColorEntry object

Syntax

[[Let] transparentRet =] object.IsTransparent

[Let] object.IsTransparent = transparentSet

The IsTransparent property syntax has these parts:

Part Description
object Required. An expression that returns an instance of an object in the Applies to list.
transparentRet Optional. A Boolean type variable.
transparentSet Required. An expression that returns a Boolean value.

Example

This example contains a document-level script. It demonstrates how to make a shape's fill transparent.

dim s as shape

' Create a Shape object
s = thisDoc.ActivePage.DrawRect(100,100,1000,1000)
If s.FillColor.IsTransparent <> true Then ' Is the color transparent? s.FillColor.IsTransparent = true ' If not, make it transparent s.PropertyChanged(CDPT_FILLCOLOR) ' Inform ConceptDraw Engine endif

 

See Also

Index Property, IsRGB Property, IsCMYK Property