IPXC_Bookmark::AddChild Method

From PDF XChange PDF SDK
Jump to: navigation, search
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*  pChild,
+
<pre class="brush:cpp;gutter:false">HRESULT AddChild([in]  IPXC_Bookmark*  Child,
                 [in]  VARIANT_BOOL    bLast);</pre>
+
                 [in]  VARIANT_BOOL    Last);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pChild
+
;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.
;bLast
+
;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 06: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.

See Also

IPXC_Bookmark