IPXC_StampInfo::DrawToMemory Method

From PDF XChange PDF SDK
Jump to: navigation, search


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, 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.
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.

See Also

IPXC_StampInfo