StopWatch.stop MethodSets the stop time of a StopWatch object.object.start ( ) Arguments
RemarksThe elapsed time is determined by comparing the stop time to the start time. Therefore, elapsed only changes when either start or stop changes. The stop method may be called several times without calling the start method, thereby providing the functionality of a "lap" time by repeatedly calling stop and elapsed.The following example illustrates the use of the start method. var swTracker = new Application.StopWatch(); swTracker.start(); ActiveDocument.Sections["Q-Contract Expenditures"].Process(); swTracker.stop(); Alert(msToTime(swTracker.elapsed)); Applies To:StopWatch ObjectRequirementsSee Alsostart() methodelapsed property |