Using the Process Analyst > Process Analyst for Developers > Automation Model > IPen.VerticalAxisAutoscale [Property][Get/Set]

IPen.VerticalAxisAutoscale [Property][Get/Set]

Gets or sets whether the vertical axis will automatically calculate its physical limits based on the sample values within its internal cache.

Defined As

Execution Result

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

Remarks

Setting this property will turn off interactive Scrolling (IPen.HorizontalAxisScroll) and Scaling (IPen.HorizontalAxisResize).

Limits

Calling Syntax

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

[VBA]

Sub Example(pen As Object)
Dim autoScale As Long
`Getting Property value
autoScale = pen.VerticalAxisAutoscale
`Setting Property value
pen.VerticalAxisAutoscale = True
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
INT autoScale;
// Getting current property value
autoScale = _ObjectGetProperty(hPen, "VerticalAxisAutoscale");
// Setting Property
_ObjectSetProperty(hPen, "VerticalAxisAutoscale", -1);
END