From Xojo Documentation

Read-Only Property (As Picture.Types )
Picture.TypesValue = aPicture.Type

New in 2011r4

Supported for all project types and targets.

The Type of the Picture. This is set automatically based on how the picture was created.


Uses the Types Enumeration to specify the Type:

  • Image: An Image for use with HiDPI displays.
  • Vector: A Vector graphic.
  • MutableBitmap: A bitmap picture that can be modified.
  • ImmutableBitmap: A bitmap picture that cannot be modified.

Pictures in the project, loaded from disk, received from drag and drop, or loaded from data will be loaded as Images (unless it's a Vector in which case it is loaded as Vector). This better preserves color spaces, loads multiple resolutions if the format supports it, and reduces memory usage.