IPXC_StampInfo::DrawToMemory Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT DrawToMemory([in] void* pBuffer, [in] ULONG nWidth, [in] ULONG nHeight, [in] LONG nStride, [in] PXC_DrawFormat nBufferFormat, [in] RECT* pDestRect, [in, defaultvalue(NULL)] IPXC_PageRenderParams* pRParams, [in, defaultvalue(NULL)] IPXC_PageRenderContext* pRContext, [in, defaultvalue(NULL)] IProgressMon* pProgressMon);</pre>
+
<pre class="brush:cpp;gutter:false">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);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;''pBuffer''
 
;''pBuffer''
 
:[in]  Pointer to void.
 
:[in]  Pointer to void.
;''nWidth''
 
:[in]  Value of ULONG.
 
;''nHeight''
 
:[in]  Value of ULONG.
 
 
;''nStride''
 
;''nStride''
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
Line 26: Line 22:
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
 
;''pRContext''
 
;''pRContext''
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_PageRenderContext|IPXC_PageRenderContext]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_OCContext|IPXC_OCContext]].
 
;''pProgressMon''
 
;''pProgressMon''
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]].

Revision as of 08:21, 21 April 2015


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

See also IPXC_StampInfo.