IIXC_Page::PrintToDC Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
The method prints the rectangle page block into specified printer's device context using color data from a specified page.
  
 
== Syntax ==
 
== Syntax ==
Line 15: Line 15:
 
== Parameters ==
 
== Parameters ==
 
;hDC
 
;hDC
:[in]  Value of HANDLE_T.
+
:[in]  Specifies printer's device context.
 
;pDestRect
 
;pDestRect
:[in]  Pointer to RECT.
+
:[in]  Specifies destination rectangle on printer's device context. This parameter may NOT be NULL.
 
;pSrcRect
 
;pSrcRect
:[in]  Pointer to RECT.
+
:[in]  Specifies source rectangle on the image page to print. If this parameter is NULL then the whole page will be printed.
 
;dwFlags
 
;dwFlags
:[in, defaultvalue(0)]  Value of ULONG.
+
:[in, defaultvalue(0)]  The is reserved and should be 0.
  
 
== Return Value ==
 
== Return Value ==
Line 27: Line 27:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IIXC_Page|IIXC_Page]].
+
:[[PXV:IIXC_Page|IIXC_Page]]
 +
:[[PXV:IIXC_Page_DrawToDC|IIXC_Page:DrawToDC]]

Revision as of 02:50, 30 April 2015


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