Working with Existing Picture Objects
The Picture class provides the methods to retrieve the picture data associated
with a picture and to change the image.
To access the picture data associated with an existing picture use:
PictureData getData()
To set a new picture data object use (specifying the new PictureData index
you wish to use):
void setData(PictureData data)
The picture associated with a Picture object is actually stored in
the PICTURE shape property. Picture properties are listed in the Properties
section of the Working with Shapes and Groups chapter (earlier in this Guide).
Therefore these methods are actually convenience methods for getting the picture
index from the shape property and looking it up in the picture repository, or adding
a picture to the repository and setting the picture index.