Method XbpIcon():setIPicture() Foundation
Initializes the icon through an IPicture automation object.
:setIPicture( <oPicture> ) --> lSuccess
The method returns a logical value. If the XbpIcon object was initialized, the value .T. (true) is returned. In case of an error, return is .F. (false).
When working with COM/ActiveX objects, an Xbase++ application often needs to manipulate images which are stored in COM/ActiveX properties, or which are returned by method calls. In this case, the image is usually returned as an AutomationObject() connected to an IPicture COM/ActiveX interface. However, generally objects of class AutomationObject cannot be used with Xbase Parts or the Graphics Engine. Instead, the image must be specified as an XbpIcon(), XbpBitmap() or XbpMetaFile() object.
Method :setIPicture() initializes an XbpIcon object with image data from an IPicture COM/ActiveX interface. This method provides a convenient way to retrieve the icon maintained by a IPicture COM/ActiveX interface.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.