IOperationHistory::AddNew Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddNew([in] IOperationHistoryItem* pNewItem, [in, optional] LONG nFlags=0);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddNew([in] IOperationHistoryItem* pNewItem, [in, defaultvalue(0)] LONG nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to [[PXV:IOperationHistoryItem|IOperationHistoryItem]].
 
:[in]  Pointer to [[PXV:IOperationHistoryItem|IOperationHistoryItem]].
 
;''nFlags''
 
;''nFlags''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 12:25, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddNew([in] IOperationHistoryItem* pNewItem, [in, defaultvalue(0)] LONG nFlags);

Parameters

pNewItem
[in] Pointer to IOperationHistoryItem.
nFlags
[in, defaultvalue(0)] Value of LONG.

Return Value

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

See Also

See also IOperationHistory.