Picture.Depth
From Xojo Documentation
Read-Only Property (As Integer )
The depth (bits) of the picture. A depth of zero indicates that the picture has no bitmap at all, so may be an Image or a Vector type.
Example
This example reports a bit depth of 32.