Currently viewing: GipsySoft » Front Page» QHTM

QHTM_PrintSetText

BOOL WINAPI QHTM_PrintSetText( QHTMCONTEXT qhtmCtx, LPCTSTR pcszText );

Set the HTML for the given print context.

Parameters

qhtmCtx
The print context.
pcszText
Zero terminated buffer containing the HTML document to print.

Return value

non-zero if it succeeds.

Example

if( !QHTM_PrintSetText( qhtmCtx, pcszText ) )
{
	//	Error
}

See also QHTM_PrintSetTextResource QHTM_PrintSetTextFile