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

IPen.PutVerticalAxisSpan [Method]

Sets the current position and span of the pens' vertical axis.

Defined As

Parameters

startValue

[in] Indicates the new lower bound of the vertical axis.

endValue

[in] Indicates the new upper bound of the vertical axis.

Execution Result

If the function succeeds, the return value will be Success. If an argument is bad, the return value will be InvalidArgument. If an argument is out of range, or the span is out of range, the return value will be InvalidArgument. If the pen is deleted, the return value will be GeneralFailure.

Limits

The vertical axis has a upper limit of 1+e10 and a lower limit of 1-e10. However, the maximum span supported is 1+e10. The minimum span is 0.00001.

See Also

IPen.GetVerticalAxisSpan [Method]

Calling Syntax

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

[VBA]

Sub Example(pen As Object)
pen.PutVerticalAxisSpan 200.5, 300.34
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
_ObjectCallMethod(hPen, "PutVerticalAxisSpan", 200.5, 300.34);
END