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 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_StampInfo::DrawToMemory Method}}
 
{{#customTitle:IPXC_StampInfo::DrawToMemory Method}}
{{#parentPage:PXV:IPXC_StampInfo|method}}
+
{{#parentPage:PXV:IPXC_StampInfo|DrawToMemory Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<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>
+
<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.
;''nStride''
+
;nStride
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''nBufferFormat''
+
;nBufferFormat
 
:[in]  Value of [[PXV:PXC_DrawFormat|PXC_DrawFormat]].
 
:[in]  Value of [[PXV:PXC_DrawFormat|PXC_DrawFormat]].
;''pDestRect''
+
;pDestRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pRParams''
+
;pRParams
 
:[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_OCContext|IPXC_OCContext]].
 
:[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 05:12, 23 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.