Home > Products > CSHTMLDiff Control > Documentation > User Guide
|
ReviewResetDiff
|
Previous Top Next |
|
|
| Resets the specified Diff to its initial visual state.
|
|
|
| Syntax
|
|
|
| Sub ReviewResetDiff(diffNum As Long)
|
|
|
| Parameters
|
|
|
| diffNum
|
| Zero based index of the Diff number to reset. It must be a number between 0 and DiffCount-1
|
|
|
| Remarks
|
|
|
| Resets the specified Difference in the displayed results.
|
| This causes both Deleted and Added elements relevant to the specified Difference to become visible.
|
|
|
| A single Difference may contain more than one changed element which can be affected by a single ReviewResetDiff operation.
|
|
|
| This operation is available only after a valid call to DoDiff.
|
|
|
| Example
|
|
|
| Private Sub ResetDiff_Click()
|
| ' Reset the Diff specified by the Text-Box 'txtNum'.
|
| diffCtrl1.ReviewResetDiff CInt(txtNum.Text)
|
|
|
| End Sub
|
|
|
| See Also
|
|
|
| DoDiff, DiffCount, Reviewing Changes, Diff Specification
|
|
|
|
|
|
|