ICabNode::Add Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
Line 2: Line 2:
 
{{#customTitle:ICabNode::Add Method}}
 
{{#customTitle:ICabNode::Add Method}}
  
The method of interface of PDF-XChange Editor SDK.
+
Adds a subnode to the array node.  
  
 
== Syntax ==
 
== Syntax ==
Line 9: Line 9:
 
== Parameters ==
 
== Parameters ==
 
;''Type''
 
;''Type''
:[in, optional]  Value of [[PXV:CabDataTypeID|CabDataTypeID]].
+
:[in, optional]  Value of [[PXV:CabDataTypeID|CabDataTypeID]]. New subnode type. Optional for templatized arrays. If this parameter is omitted (or has default value of dt_Undefined), actual subnode type will be obtained from the template.
 
;''ppNode''
 
;''ppNode''
:[out, retval]  Pointer to [[PXV:ICabNode|ICabNode]].
+
:[out, retval]  The address of pointer variable that receives the pointer to the added subnode.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 07:37, 15 April 2015

Adds a subnode to the array node.

Syntax

HRESULT Add([in, optional] CabDataTypeID Type, [out, retval] ICabNode** ppNode);

Parameters

Type
[in, optional] Value of CabDataTypeID. New subnode type. Optional for templatized arrays. If this parameter is omitted (or has default value of dt_Undefined), actual subnode type will be obtained from the template.
ppNode
[out, retval] The address of pointer variable that receives the pointer to the added subnode.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also ICabNode.