Method XbpBitmap():getIPicture() Foundation

Returns the image 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 image to a property of a COM/ActiveX object, an Xbase++ application often needs to specify the image as an IPicture object. The method :getIPicture() creates an AutomationObject of class IPicture and initializes the object with the image maintained by the XbpBitmap 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.