IPXC_Bookmark::AddNewChild Method
From PDF XChange PDF SDK
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 AddNewChild([in] VARIANT_BOOL | + | <pre class="brush:cpp;gutter:false">HRESULT AddNewChild([in] VARIANT_BOOL bLast, |
− | [out, retval] IPXC_Bookmark** | + | [out, retval] IPXC_Bookmark** pChild);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;bLast |
:[in] Choose whether the inserted child should be last or first in the bookmark's sub tree. | :[in] Choose whether the inserted child should be last or first in the bookmark's sub tree. | ||
− | ; | + | ;pChild |
:[out, retval] Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the newly created child. | :[out, retval] Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the newly created child. | ||
Latest revision as of 02:20, 15 June 2015
Creates a new bookmark and inserts it as a child in the bookmark's sub-tree.
Syntax
HRESULT AddNewChild([in] VARIANT_BOOL bLast, [out, retval] IPXC_Bookmark** pChild);
Parameters
- bLast
- [in] Choose whether the inserted child should be last or first in the bookmark's sub tree.
- pChild
- [out, retval] Pointer to IPXC_Bookmark containing the newly created child.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.