TransparentMode

<< Click to Display Table of Contents >>

 

TransparentMode

Enum This property specifies a transparency effect mode for this picture. The next table contains possible values for this property.

Available options for the TransparentMode property

Option

Description

0 - Disabled

No transparency is performed (default)

1 - ByColor

Transparency uses a color defined in the TransparentColor property

2 - ByPercent

Picture remains transparent with a transparency percentage specified in the TransparentPercent property

 

Example:

Sub DrawPicture1_Click()
  ' Leaves the blue color transparent
  ' when clicking this object
  TransparentMode = 1 ' ByColor
  TransparentColor = RGB(0, 0, 255)
End Sub

Was this page useful?