IASHTMLControl::put_Image
This method displays an image.
Syntax
HRESULT put_Image ( DWORD dwCookie, BOOL bOwnBitmap, long lOrigHeight, long lOrigWidth, OLE_HANDLE hBitmap );
Parameters
- dwCookie
- Specifies a cookie that identifies the image. It is passed to the application through the IASHTMLControlNotifySink::InlineImage function when an image is encountered.
- bOwnBitmap
- Boolean that is set to TRUE if the bitmap is to be destroyed after use, or to FALSE if the bitmap is to be used again.
- lOrigHeight
- Long integer that contains the height of the original bitmap. The displayed height may be different.
- lOrigWidth
- Long integer that contains the width of the original bitmap. The displayed width may be different.
- hBitmap
- Handle to the bitmap.
Return Values
An appropriate HRESULT value is returned.