Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

IPen​.PutVerticalAxisSpan [Method]

  • Last UpdatedJul 18, 2023
  • 1 minute read

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

Defined As

  • [VBA] GetVerticalAxisSpan(startValue As Double, endValue As Double)

  • [Cicode] GetVerticalAxisSpan (REAL startValue, REAL endValue)

  • [C++] HRESULT GetVerticalAxisSpan (double* startValue, double* endValue)

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.

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

See Also

IPen.GetVerticalAxisSpan [Method]

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in