IPXC_Page::DrawToDevice Method
From PDF XChange PDF SDK
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 | + | <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 |
:[in] Value of HANDLE_T. | :[in] Value of HANDLE_T. | ||
− | ; | + | ;pDestRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;pMatrix |
− | :[in | + | :[in] Pointer to [[PXV:PXC_Matrix|PXC_Matrix]]. |
− | ; | + | ;nFlags |
− | :[in, | + | :[in, defaultvalue(0)] Drawing flags. Can be a combination of the [[PXV:PXC_DrawToDeviceFlags|PXC_DrawToDeviceFlags]] flags. |
− | ; | + | ;pRParams |
− | :[in, | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]]. |
− | ; | + | ;pRContext |
− | :[in, | + | :[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 == | ||
− | + | [[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.