Property

Picture.Transparent


Warning

This item was deprecated in version 2019r2. Please use alpha channels]] as a replacement.

Description

Notes

Transparent can take on either of the following values:

0 - Not Transparent.

1 - White is Transparent.

With the availability of alpha channels, you should instead use the constructor in place of this property.

Sample code

This example turns on transparency (for older Picture files).

Dim pic As Picture
Dim f As FolderItem
f = GetOpenFolderItem("image/jpeg")
If f <> Nil Then
  pic = Picture.Open(f)
  pic.Transparent = 1
  ImageWell1.Image = pic
End If

Compatibility

All project types on all supported operating systems.