IPXC_Bookmark::AddNewChild 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 AddNewChild([in]          VARIANT_BOOL    Last,
+
<pre class="brush:cpp;gutter:false">HRESULT AddNewChild([in]          VARIANT_BOOL    bLast,
                     [out, retval]  IPXC_Bookmark**  Child);</pre>
+
                     [out, retval]  IPXC_Bookmark**  pChild);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Last
+
;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.
;Child
+
;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 03: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.

See Also

IPXC_Bookmark