IIXC_Page::PrintToDC Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::PrintToDC Method}}
 
{{#customTitle:IIXC_Page::PrintToDC Method}}
 
{{#parentPage:PXV:IIXC_Page|PrintToDC Method|method}}
 
{{#parentPage:PXV:IIXC_Page|PrintToDC Method|method}}
 
  
 
The '''PrintToDC''' method prints a page or rectangular block into specified printer's device context using color data from a specified page.
 
The '''PrintToDC''' method prints a page or rectangular block into specified printer's device context using color data from a specified page.

Revision as of 04:50, 20 May 2015

The PrintToDC method prints a page or rectangular 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] Pointer to the destination rectangle on printer's device context. This parameter may NOT be NULL.
pSrcRect
[in] Pointer to the source rectangle on the image page to print. If this parameter is NULL then the whole page will be printed.
dwFlags
[in, defaultvalue(0)] This 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