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

IPen.VerticalAxisScroll [Property][Get/Set]

Gets or sets whether this pen allows the operator to interactively scroll the vertical axis by using the mouse.

Defined As

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

Remarks

This only applies to analog pens.

See Also

IPen.HorizontalAxisScroll [Property][Get/Set]

Calling Syntax

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

[VBA]

Sub Example(pen As Object)
Dim scroll As Boolean
`Getting Property value
scroll = pen.VerticalAxisScroll
`Setting Property value
pen.VerticalAxisScroll = False
End Sub

[Cicode]

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