VAPIMWP_DRAW_DRAWPAGE

Draws a page in an area on a device context. This is a parameter of the VAPIM_DRAW message.

Syntax

#include <kvvapi.h>
SendMessage(hWndVAPI,VAPIM_DRAW, VAPIMWP_DRAW_DRAWPAGE,
           (LPARAM) (TPVAPIDrawPageInfo*) pDrawInfo );

Arguments

Argument Description
hWndVAPI The handle of the VAPI window.
pDrawInfo

A pointer to a TPVAPIDrawPageInfo structure that contains information used for drawing.

To draw pages in any order, set the bWait parameter in the TPVAPIOpenDocumentInfo structure to FALSE.

Returns

SendMessage() returns:

Discussion