Retrieves the picture object attributes defined as a GDI+ image.
| VB | object.GetImage(GDIPlusImage As LONG_PTR, Owned As Boolean) |
object
GDIPlusImage
Returns a pointer to a Gdiplus::Image object.
Owned
Returns True if the GDI+ image is owned by the control, False otherwise.
The GetImage method retrieves the picture object attributes defined as a GDI+ image.
SetImage can be used to assign ownership of a GDI+ image to the control, so it automatically deletes the object when it is no longer needed. This is typically only used by C++ applications that have direct access to GDI+ classes.
If the current picture object is not based on a GDI+ image (SftPictureObject.Type other than sftTypeGDIPlus), the returned values are not valid.
See Also SftPictureObject Object | Object Hierarchy