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

Parameters

nInsertBefore
[in] Value of ULONG.
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.