IPXC_Bookmark::AddNewSibling Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(10 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#Methods|AddNewSibling|method}} | ||
− | + | 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 |
− | :[in] | + | :[in] Choose whether the created sibling should be inserted before or after the bookmark. |
− | ; | + | ;pSibling |
− | :[out, retval] Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]]. | + | :[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 | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
− | + | [[PXV:IPXC_Bookmark|IPXC_Bookmark]] |
Latest revision as of 02: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.