IPXC_Content::DrawToMemory Method

From PDF XChange PDF SDK
Revision as of 06:25, 3 August 2020 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]                      PXC_Matrix*             pMatrix,
                     [in]                      IPXC_PageRenderParams*  pRenderParams,
                     [in, defaultvalue(0)]     ULONG                   nStartItem,
                     [in, defaultvalue(-1)]    ULONG                   nNumItems,
                     [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.
pRenderParams
[in] Pointer to IPXC_PageRenderParams.
nStartItem
[in, defaultvalue(0)] Value of ULONG.
nNumItems
[in, defaultvalue(-1)] Value of ULONG.
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_Content