Picture.Objects

From Xojo Documentation

Property (As Group2D )
aPicture.Objects = newGroup2DValue
or
Group2DValue = aPicture.Objects

Supported for all project types and targets.

A set of vector graphics associated with the picture (optional).

Notes

Specify a depth of zero to create a picture with no pixel map at all, but with a preinitialized Objects property. Use this option for creating vector graphics pictures via the set of Object2D subclasses.

Example

Create a vector image:

Var vectorImage As New Picture(10, 10, 0)