IPXC_Bookmark::AddNewSibling Method

From PDF XChange PDF SDK
Jump to: navigation, search

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