Using the Process Analyst > Process Analyst for Developers > Automation Model > IPen.GoToNow [Method]

IPen.GoToNow [Method]

Synchronizes the end time of the pen's span with your computer's current local time. The start time will also be moved to maintain the pen's current time span.

Defined As

Execution Result

If the function succeeds, the return value will be Success. If the pen is deleted, the return value will be GeneralFailure.

Calling Syntax

Assumes you have passed a valid pen object into the function.

[VBA]

Sub Example(pen As Object)
pen.GoToNow
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
_ObjectCallMethod(hPen, "GoToNow");
END