TransparencyColor Property Example
This example sets the color that has the RGB value returned by the function RGB(0, 0, 255) as the transparent color for shape one on myDocument
. For the example to work, shape one must be a bitmap.
blueScreen = RGB(0, 0, 255)
Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(1)
With .PictureFormat
.TransparentBackground = True
.TransparencyColor = blueScreen
End With
.Fill.Visible = False
End With