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

IPen.ResetToDefaultSpan [Method]

Resets the span of this pen to its default 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.

Remarks

The default span of pens is 10 minutes. This can be modified by using IPen.SetDefaultSpan.

See Also

IPen.GetDefaultSpan [Method], IPen.SetDefaultSpan [Method]

Calling Syntax

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

[VBA]

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

[Cicode]

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