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)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Bookmark::AddNewSibling Method}}
 
{{#customTitle:IPXC_Bookmark::AddNewSibling Method}}
{{#parentPage:PXV:IPXC_Bookmark|method}}
+
{{#parentPage:PXV:IPXC_Bookmark#Methods|AddNewSibling|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
Creates new bookmark and inserts it as a bookmark's sibling (before or after it on the same level).
+
Creates a new bookmark and inserts it as a bookmark's sibling (before or after it on the same level).
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddNewSibling([in] VARIANT_BOOL bBefore, [out, retval] IPXC_Bookmark** pSibling);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddNewSibling([in]           VARIANT_BOOL     bBefore,
 +
                      [out, retval] IPXC_Bookmark** pSibling);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''bBefore''
+
;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.
;''pSibling''
+
;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.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Bookmark|IPXC_Bookmark]].
+
[[PXV:IPXC_Bookmark|IPXC_Bookmark]]

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