IPXC_Page::DrawToMemory Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT DrawToMemory([in] void* pBuffer, [in] LONG nStride, [in] PXC_DrawFormat nBufferFormat, [in] RECT* pDestRect, [in] PXC_Matrix* pMatrix, [in, defaultvalue(NULL)] IPXC_PageRenderParams* pRParams, [in, defaultvalue(NULL)] IPXC_OCContext* pRContext, [in, defaultvalue(NULL)] IProgressMon* pProgressMon);
Parameters
- pBuffer
- [in] Pointer to void.
- nStride
- [in] Value of LONG.
- nBufferFormat
- [in] Value of PXC_DrawFormat.
- pDestRect
- [in] Pointer to RECT.
- pMatrix
- [in] Pointer to PXC_Matrix.
- 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 operation was successful or error code in other cases.