Returns a pointer to bitmap specified by a control to use when Internet Explorer 9 prints a page.
HRESULT GetPrintBitmap( IUnknown **ppPrintBitmap );
- [out, retval] The bitmap to be used when the page is printed.
Returns S_OK if successful, or an error value otherwise.
The returned IUnknown pointer ppPrintBitmap should succeed when QueryInterface is called with
IID_IWICBitmap. This interface allows an ISurfacePresenter control to change the DPI of bitmaps for printing. For example, a higher resolution image can be sent to the printer than the bitmap that is displayed on the screen. If the call succeeds and an IWICBitmap is returned, it will be used when the page is printed.
If the call does not succeed or an IWICBitmap is not returned, then Internet Explorer 9 will use the last presented bitmap for ISurfacePresenter controls that are using IViewObjectPresentSite::SetCompositionMode set to
VIEW_OBJECT_COMPOSITION_MODE_SURFACEPRESENTER. For ISurfacePresenter controls with composition mode set to
VIEW_OBJECT_COMPOSITION_MODE_LEGACY, or other controls on the page, then IViewObject::Draw is called.