IPXC_StampInfo::DrawToMemory Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== 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, optional] IPXC_PageRenderParams* pRParams, [in, optional] IPXC_PageRenderContext* pRContext, [in, optional] IProgressMon* pProgressMon);</pre>
+
<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>
  
 
== Parameters ==
 
== Parameters ==
Line 21: Line 21:
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
 
;''pRParams''
 
;''pRParams''
:[in, optional]  Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
 
;''pRContext''
 
;''pRContext''
:[in, optional]  Pointer to [[PXV:IPXC_PageRenderContext|IPXC_PageRenderContext]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_PageRenderContext|IPXC_PageRenderContext]].
 
;''pProgressMon''
 
;''pProgressMon''
:[in, optional]  Pointer to [[PXV:IProgressMon|IProgressMon]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 23:01, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

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);

Parameters

pBuffer
[in] Pointer to void.
nWidth
[in] Value of ULONG.
nHeight
[in] Value of ULONG.
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_PageRenderContext.
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.