IPXC_Bookmark::AddNewChild Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(8 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|method | + | {{#parentPage:PXV:IPXC_Bookmark#Methods|AddNewChild|method}} |
− | + | ||
− | + | ||
− | Creates new bookmark and inserts it as a child in the bookmark's sub-tree. | + | 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 |
:[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. | ||
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
− | + | [[PXV:IPXC_Bookmark|IPXC_Bookmark]] |
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.