IPXC_Page::DrawToDevice Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Page::DrawToDevice Method}}
 
{{#customTitle:IPXC_Page::DrawToDevice Method}}
{{#parentPage:PXV:IPXC_Page#Methods|DrawToDevice Method|method}}
+
{{#parentPage:PXV:IPXC_Page#Methods|DrawToDevice|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 25: Line 25:
 
:[in]  Pointer to [[PXV:PXC_Matrix|PXC_Matrix]].
 
:[in]  Pointer to [[PXV:PXC_Matrix|PXC_Matrix]].
 
;nFlags
 
;nFlags
:[in, defaultvalue(0)]  Value of ULONG.
+
:[in, defaultvalue(0)]  Drawing flags. Can be a combination of the [[PXV:PXC_DrawToDeviceFlags|PXC_DrawToDeviceFlags]] flags.
 
;pRParams
 
;pRParams
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
Line 34: Line 34:
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful or error code in other cases.
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXC_Page|IPXC_Page]].
+
[[PXV:IPXC_Page|IPXC_Page]]

Latest revision as of 07:14, 1 September 2021


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawToDevice([in]                      HANDLE_T                hDC,
                     [in]                      RECT*                   pDestRect,
                     [in]                      PXC_Matrix*             pMatrix,
                     [in, defaultvalue(0)]     ULONG                   nFlags,
                     [in, defaultvalue(NULL)]  IPXC_PageRenderParams*  pRParams,
                     [in, defaultvalue(NULL)]  IPXC_OCContext*         pRContext,
                     [in, defaultvalue(NULL)]  IProgressMon*           pProgressMon);

Parameters

hDC
[in] Value of HANDLE_T.
pDestRect
[in] Pointer to RECT.
pMatrix
[in] Pointer to PXC_Matrix.
nFlags
[in, defaultvalue(0)] Drawing flags. Can be a combination of the PXC_DrawToDeviceFlags flags.
pRParams
[in, defaultvalue(NULL)] Pointer to IPXC_PageRenderParams.
pRContext
[in, defaultvalue(NULL)] Pointer to IPXC_OCContext.
pProgressMon
[in, defaultvalue(NULL)] Pointer to IProgressMon.

Return Value

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

See Also

IPXC_Page