GetDrawInfo method

Retrieves information about requirements that the IHTMLPainter::Draw method must meet.

Syntax

HRESULT retVal = object.GetDrawInfo(lFlags, pDrawInfo);

Parameters

Return value

Type: HRESULT

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

Remarks

Typically, a custom implementation of IHTMLPainter::Draw will call IHTMLPaintSite::GetDrawInfo to obtain information it needs to redraw the behavior correctly, such as any transformation it needs to apply to its output.

The HTML_PAINT_DRAW_INFO_FLAGS constants can be combined with a bitwise OR operation (|) to construct the lFlags parameter.