IPXC_Articles::AddNew Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddNew([in]          ULONG          Pos,
+
<pre class="brush:cpp;gutter:false">HRESULT AddNew([in]          ULONG          nPos,
               [out, retval]  IPXC_Article**  NewArticle);</pre>
+
               [out, retval]  IPXC_Article**  pNewArticle);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Pos
+
;nPos
 
:[in]  Position where the article will be inserted into.
 
:[in]  Position where the article will be inserted into.
;NewArticle
+
;pNewArticle
 
:[out, retval]  Pointer to [[PXV:IPXC_Article|IPXC_Article]] containing the newly inserted article.
 
:[out, retval]  Pointer to [[PXV:IPXC_Article|IPXC_Article]] containing the newly inserted article.
  

Latest revision as of 03:20, 15 June 2015

Adds new article to the core document's article array into given position.

Syntax

HRESULT AddNew([in]           ULONG           nPos,
               [out, retval]  IPXC_Article**  pNewArticle);

Parameters

nPos
[in] Position where the article will be inserted into.
pNewArticle
[out, retval] Pointer to IPXC_Article containing the newly inserted article.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IPXC_Articles