IPXC_Page::DrawToDevice Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 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|DrawToDevice | + | {{#parentPage:PXV:IPXC_Page#Methods|DrawToDevice|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
Line 11: | Line 12: | ||
[in] RECT* pDestRect, | [in] RECT* pDestRect, | ||
[in] PXC_Matrix* pMatrix, | [in] PXC_Matrix* pMatrix, | ||
+ | [in, defaultvalue(0)] ULONG nFlags, | ||
[in, defaultvalue(NULL)] IPXC_PageRenderParams* pRParams, | [in, defaultvalue(NULL)] IPXC_PageRenderParams* pRParams, | ||
[in, defaultvalue(NULL)] IPXC_OCContext* pRContext, | [in, defaultvalue(NULL)] IPXC_OCContext* pRContext, | ||
Line 22: | Line 24: | ||
;pMatrix | ;pMatrix | ||
:[in] Pointer to [[PXV:PXC_Matrix|PXC_Matrix]]. | :[in] Pointer to [[PXV:PXC_Matrix|PXC_Matrix]]. | ||
+ | ;nFlags | ||
+ | :[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 30: | 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]] |
Latest revision as of 08: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.