IViewObjectPresentFlip::RenderObjectToBitmap method

Called from Internet Explorer during situations (such as printing) where a bitmap representation of the ActiveX control is needed.

Syntax

HRESULT RenderObjectToBitmap(
  [in] IUnknown *pBitmap
);

Parameters

  • *pBitmap [in]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

An IWICBitmap is passed as an IUnknown. The bitmap has the same dimensions as the current surface presenter.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016

DLL

Mshtml.dll; Edgehtml.dll