IPXC_ContentItems::InsertNewItem2 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_ContentItems::InsertNewItem2 Method}}
 
{{#customTitle:IPXC_ContentItems::InsertNewItem2 Method}}
{{#parentPage:PXV:IPXC_ContentItems|method}}
+
{{#parentPage:PXV:IPXC_ContentItems|InsertNewItem2 Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertNewItem2([in] IPXC_ContentItem* pRef, [in] VARIANT_BOOL bBefore, [in] PXC_CIType nType, [out, retval] IPXC_ContentItem** ppNewItem);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertNewItem2([in]           IPXC_ContentItem*   pRef,
 +
                      [in]           VARIANT_BOOL       bBefore,
 +
                      [in]           PXC_CIType         nType,
 +
                      [out, retval] IPXC_ContentItem** ppNewItem);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pRef''
+
;pRef
 
:[in]  Pointer to [[PXV:IPXC_ContentItem|IPXC_ContentItem]].
 
:[in]  Pointer to [[PXV:IPXC_ContentItem|IPXC_ContentItem]].
;''bBefore''
+
;bBefore
 
:[in]  Value of VARIANT_BOOL.
 
:[in]  Value of VARIANT_BOOL.
;''nType''
+
;nType
 
:[in]  Value of [[PXV:PXC_CIType|PXC_CIType]].
 
:[in]  Value of [[PXV:PXC_CIType|PXC_CIType]].
;''ppNewItem''
+
;ppNewItem
 
:[out, retval]  Pointer to [[PXV:IPXC_ContentItem|IPXC_ContentItem]].
 
:[out, retval]  Pointer to [[PXV:IPXC_ContentItem|IPXC_ContentItem]].
  

Revision as of 06:01, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT InsertNewItem2([in]           IPXC_ContentItem*   pRef,
                       [in]           VARIANT_BOOL        bBefore,
                       [in]           PXC_CIType          nType,
                       [out, retval]  IPXC_ContentItem**  ppNewItem);

Parameters

pRef
[in] Pointer to IPXC_ContentItem.
bBefore
[in] Value of VARIANT_BOOL.
nType
[in] Value of PXC_CIType.
ppNewItem
[out, retval] Pointer to IPXC_ContentItem.

Return Value

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

See Also

See also IPXC_ContentItems.