Method XbpIcon():getIPicture() Foundation

Returns the icon as an IPicture automation object.

:getIPicture() --> oPicture

This method returns the image as an IPicture COM object.


COM/ActiveX components usually manage images using COM objects. To assign an icon to a property of a COM/ActiveX object, an Xbase++ application often needs to specify the icon as an IPicture object. The method :getIPicture() creates an AutomationObject of class IPicture and initializes the object with the icon maintained by the XbpIcon instance. The object returned can then be assigned to the COM/ActiveX property.


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.