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

AVEVA™ Plant SCADA

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

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets or sets whether this pen allows the operator to interactively scale the horizontal axis using the mouse.

Defined As

  • [VBA] Boolean HorizontalAxisResize

  • [Cicode] INT HorizontalAxisResize

  • [C++] VARIANT_BOOL HorizontalAxisResize

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

  • True (-1): Axis can be re-sized

  • False (0): Axis cannot be re-sized

Calling Syntax

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

[VBA]

Sub Example(pen As Object)
Dim re-size As Boolean
`Getting Property value
re-size = pen.HorizontalAxisResize
`Setting Property value
pen.HorizontalAxisResize = False
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
INT bResize;
// Getting current property value
bResize = _ObjectGetProperty(hPen, "HorizontalAxisResize");
// Setting Property
_ObjectSetProperty(hPen, "HorizontalAxisResize",0);
END

See Also

IPen.VerticalAxisResize [Property][Get/Set]

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