<div class="meta" robots="noindex">

</div>

Property

# Picture.Transparent

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

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

</div>

## Description

## Notes

Transparent can take on either of the following values:

0 - Not <span class="title-ref">Transparent</span>.

1 - White is <span class="title-ref">Transparent</span>.

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).

``` xojo
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.
