IPXC_Bookmark::AddNewChild Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Bookmark::AddNewChild Method}}
 
{{#customTitle:IPXC_Bookmark::AddNewChild Method}}
 +
{{#parentPage:PXV:IPXC_Bookmark#Methods|AddNewChild|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates a new bookmark and inserts it as a child in the bookmark's sub-tree.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddNewChild([in] VARIANT_BOOL bLast, [out, retval] IPXC_Bookmark** pChild);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddNewChild([in]           VARIANT_BOOL     bLast,
 +
                    [out, retval] IPXC_Bookmark** pChild);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''bLast''
+
;bLast
:[in]  Value of VARIANT_BOOL.
+
:[in]  Choose whether the inserted child should be last or first in the bookmark's sub tree.
;''pChild''
+
;pChild
:[out, retval]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]].
+
:[out, retval]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the newly created child.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Bookmark|IPXC_Bookmark]].
+
[[PXV:IPXC_Bookmark|IPXC_Bookmark]]

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