Share via


CStockPropImpl::put_Picture

Call this method to set the picture properties of a graphic (icon, bitmap, or metafile) to be displayed.

HRESULT STDMETHODCALLTYPE put_Picture( 
   IPictureDisp* pPicture  
);

Parameters

  • pPicture
    A pointer to the picture's properties. See IPictureDisp for more details.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_Picture

CStockPropImpl::putref_Picture