IPXC_Bookmark::AddNewSibling 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 AddNewSibling([in]          VARIANT_BOOL    Before,
+
<pre class="brush:cpp;gutter:false">HRESULT AddNewSibling([in]          VARIANT_BOOL    bBefore,
                       [out, retval]  IPXC_Bookmark**  Sibling);</pre>
+
                       [out, retval]  IPXC_Bookmark**  pSibling);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Before
+
;bBefore
 
:[in]  Choose whether the created sibling should be inserted before or after the bookmark.
 
:[in]  Choose whether the created sibling should be inserted before or after the bookmark.
;Sibling
+
;pSibling
 
:[out, retval]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the newly created sibling.
 
:[out, retval]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the newly created sibling.
  

Latest revision as of 03:20, 15 June 2015

Creates a new bookmark and inserts it as a bookmark's sibling (before or after it on the same level).

Syntax

HRESULT AddNewSibling([in]           VARIANT_BOOL     bBefore,
                      [out, retval]  IPXC_Bookmark**  pSibling);

Parameters

bBefore
[in] Choose whether the created sibling should be inserted before or after the bookmark.
pSibling
[out, retval] Pointer to IPXC_Bookmark containing the newly created sibling.

Return Value

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

See Also

IPXC_Bookmark