'Declaration Public Function AddCurrentViewStateToHistory( _ ByVal userAction As HistorySavedActionsEnum, _ ByVal historyItemCaption As String, _ ByVal force As Boolean _ ) As ViewHistoryItem
public ViewHistoryItem AddCurrentViewStateToHistory( HistorySavedActionsEnum userAction, string historyItemCaption, bool force )
Parameters
- userAction
- A HistorySavedActionsEnum value defining the user action associated with the new history item.
- historyItemCaption
- The caption of the new history item.
- force
- If true, forces adding of the current state even if it is equal to the state stored in the C1PreviewPane.CurrentHistoryEntry.
Return Value
The newly created ViewHistoryItem object, or null if the action was cancelled.