IIXC_Page::PrintToDC Method

From Tracker Software PDF SDK
Revision as of 04:10, 30 April 2015 by Oliynykd (Talk | contribs)

Jump to: navigation, search


The method prints the rectangle page block into specified printer's device context using color data from a specified page.

Syntax

HRESULT PrintToDC([in]                   HANDLE_T  hDC,
                  [in]                   RECT*     pDestRect,
                  [in]                   RECT*     pSrcRect,
                  [in, defaultvalue(0)]  ULONG     dwFlags);

Parameters

hDC
[in] Specifies printer's device context.
pDestRect
[in] Specifies destination rectangle on printer's device context. This parameter may NOT be NULL.
pSrcRect
[in] Specifies source rectangle on the image page to print. If this parameter is NULL then the whole page will be printed.
dwFlags
[in, defaultvalue(0)] The is reserved and should be 0.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IIXC_Page
IIXC_Page:DrawToDC
IIXC_Page:StretchDraw
IIXC_Page:StretchDraw2