IPXC_Bookmark::AddChild 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 AddChild([in] IPXC_Bookmark* | + | <pre class="brush:cpp;gutter:false">HRESULT AddChild([in] IPXC_Bookmark* Child, |
− | [in] VARIANT_BOOL | + | [in] VARIANT_BOOL Last);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Child |
:[in] Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the child to be added to the sub-tree. | :[in] Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the child to be added to the sub-tree. | ||
− | ; | + | ;Last |
:[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. | ||
Revision as of 05:56, 12 June 2015
Adds an existing bookmark as a child to the bookmark's sub-tree.
Syntax
HRESULT AddChild([in] IPXC_Bookmark* Child, [in] VARIANT_BOOL Last);
Parameters
- Child
- [in] Pointer to IPXC_Bookmark containing the child to be added to the sub-tree.
- Last
- [in] Choose whether the inserted child should be last or first in the bookmark's sub tree.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.