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          nPos,
+
<pre class="brush:cpp;gutter:false">HRESULT AddNew([in]          ULONG          Pos,
               [out, retval]  IPXC_Article**  pNewArticle);</pre>
+
               [out, retval]  IPXC_Article**  NewArticle);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nPos
+
;Pos
 
:[in]  Position where the article will be inserted into.
 
:[in]  Position where the article will be inserted into.
;pNewArticle
+
;NewArticle
 
:[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.
  

Revision as of 06:55, 12 June 2015

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

Syntax

HRESULT AddNew([in]           ULONG           Pos,
               [out, retval]  IPXC_Article**  NewArticle);

Parameters

Pos
[in] Position where the article will be inserted into.
NewArticle
[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