IOperationHistory::AddNew Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IOperationHistory::AddNew Method}}
 
{{#customTitle:IOperationHistory::AddNew Method}}
 +
{{#parentPage:PXV:IOperationHistory#Methods|AddNew|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddNew([in] IOperationHistoryItem* pNewItem, [in, defaultvalue(0)] LONG nFlags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddNew([in]                   IOperationHistoryItem* pNewItem,
 +
              [in, defaultvalue(0)] LONG                   nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pNewItem''
+
;pNewItem
 
:[in]  Pointer to [[PXV:IOperationHistoryItem|IOperationHistoryItem]].
 
:[in]  Pointer to [[PXV:IOperationHistoryItem|IOperationHistoryItem]].
;''nFlags''
+
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
  
Line 17: Line 22:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IOperationHistory|IOperationHistory]].
+
[[PXV:IOperationHistory|IOperationHistory]]

Latest revision as of 02:18, 15 June 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

IOperationHistory