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

AVEVA™ Plant SCADA

IPen​.VerticalAxisWidth [Property][Get/Set]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets or sets the width of the vertical axis line and the associated interval markers.

Defined As

  • [VBA] Integer VerticalAxisWidth

  • [Cicode] INT VerticalAxisWidth

  • [C++] short VerticalAxisWidth

Execution Result

If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the pen is deleted, the return value will be GeneralFailure.

Limits

A valid width is 0-8 pixels.

Remarks

This only applies to analog pens.

Calling Syntax

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

[VBA]

Sub Example(pen As Object)
Dim width As Integer
`Getting Property value
width = pen.VerticalAxisWidth
`Setting Property value
pen.VerticalAxisWidth = 3
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
INT width;
// Getting current property value
width = _ObjectGetProperty(hPen, "VerticalAxisWidth");
// Setting Property
_ObjectSetProperty(hPen, "VerticalAxisWidth", 3);
END

See Also

IPen.HorizontalAxisWidth [Property][Get/Set]

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