IPXS_Inst::NewVar_FromBuf 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:IPXS_Inst::NewVar_FromBuf Method}}
 
{{#customTitle:IPXS_Inst::NewVar_FromBuf Method}}
{{#parentPage:PXV:IPXS_Inst|method}}
+
{{#parentPage:PXV:IPXS_Inst|NewVar_FromBuf Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT NewVar_FromBuf([in] IPXS_Document* pDoc, [in] LPSTR pBuf, [in, defaultvalue(0)] VARIANT_BOOL bAsIndirect, [out, retval] IPXS_PDFVariant** pVar);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT NewVar_FromBuf([in]                   IPXS_Document*     pDoc,
 +
                      [in]                   LPSTR             pBuf,
 +
                      [in, defaultvalue(0)] VARIANT_BOOL       bAsIndirect,
 +
                      [out, retval]         IPXS_PDFVariant** pVar);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pDoc''
+
;pDoc
 
:[in]  Pointer to [[PXV:IPXS_Document|IPXS_Document]].
 
:[in]  Pointer to [[PXV:IPXS_Document|IPXS_Document]].
;''pBuf''
+
;pBuf
 
:[in]  Value of LPSTR.
 
:[in]  Value of LPSTR.
;''bAsIndirect''
+
;bAsIndirect
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
;''pVar''
+
;pVar
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
  

Revision as of 05:15, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT NewVar_FromBuf([in]                   IPXS_Document*     pDoc,
                       [in]                   LPSTR              pBuf,
                       [in, defaultvalue(0)]  VARIANT_BOOL       bAsIndirect,
                       [out, retval]          IPXS_PDFVariant**  pVar);

Parameters

pDoc
[in] Pointer to IPXS_Document.
pBuf
[in] Value of LPSTR.
bAsIndirect
[in, defaultvalue(0)] Value of VARIANT_BOOL.
pVar
[out, retval] Pointer to IPXS_PDFVariant.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IPXS_Inst.