Currently viewing: GipsySoft » Front Page» QHTM

QHTM_PrintPage

BOOL WINAPI QHTM_PrintPage( QHTMCONTEXT qhtmCtx, HDC hdc, UINT nPage, LPRECT lprcDest);

Print a page.

Parameters

qhtmCtx
The print context.
hdc
The device context used to print.
nPage
The page number to print.
lprcDest
The rectangle on the page that the HTML will be restricted to.

Return value

non-zero if it succeeds.

Example


int nPages;
if( !QHTM_PrintPage( qhtmCtx, hdc, nPage, &rcPrintPage ) )
{
	//	Error
}

See also None