IPXC_Page::DrawToDevice Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Page::DrawToDevice Method}}
 
{{#customTitle:IPXC_Page::DrawToDevice Method}}
 +
{{#parentPage:PXV:IPXC_Page#Methods|DrawToDevice|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT DrawToDevice([in] HANDLE_T hDC, [in] RECT* pDestRect, [in, optional] PXC_Matrix* pMatrix, [in, optional] IPXC_PageRenderParams* pRParams, [in, optional] IPXC_PageRenderContext* pRContext, [in, optional] IProgressMon* pProgressMon);</pre>
+
<pre class="brush:cpp;gutter:false">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);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''hDC''
+
;hDC
 
:[in]  Value of HANDLE_T.
 
:[in]  Value of HANDLE_T.
;''pDestRect''
+
;pDestRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pMatrix''
+
;pMatrix
:[in, optional]  Pointer to [[PXV:PXC_Matrix|PXC_Matrix]].
+
:[in]  Pointer to [[PXV:PXC_Matrix|PXC_Matrix]].
;''pRParams''
+
;nFlags
:[in, optional]  Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
+
:[in, defaultvalue(0)]  Drawing flags. Can be a combination of the [[PXV:PXC_DrawToDeviceFlags|PXC_DrawToDeviceFlags]] flags.
;''pRContext''
+
;pRParams
:[in, optional]  Pointer to [[PXV:IPXC_PageRenderContext|IPXC_PageRenderContext]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
;''pProgressMon''
+
;pRContext
:[in, optional]  Pointer to [[PXV:IProgressMon|IProgressMon]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_OCContext|IPXC_OCContext]].
 +
;pProgressMon
 +
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]].
  
 
== 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 ==
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