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)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_StampInfo::DrawToMemory Method}}
 
{{#customTitle:IPXC_StampInfo::DrawToMemory Method}}
{{#parentPage:PXV:IPXC_StampInfo|method}}
+
{{#parentPage:PXV:IPXC_StampInfo#Methods|DrawToMemory|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== 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]].
  
Line 30: Line 37:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_StampInfo|IPXC_StampInfo]].
+
[[PXV:IPXC_StampInfo|IPXC_StampInfo]]

Latest revision as of 07:49, 23 May 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

IPXC_StampInfo