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

IPen.HorizontalAxisScroll [Property][Get/Set]

Gets or sets whether this pen allows the operator to interactively scroll the horizontal axis 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 then the return value will be InvalidArgument. If the pen is deleted then the return value will be GeneralFailure.


See Also

IPen.VerticalAxisScroll [Property][Get/Set]

Calling Syntax

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


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


INT bScroll;
// Getting current property value
bScroll = _ObjectGetProperty(hPen, "HorizontalAxisScroll");
// Setting Property
_ObjectSetProperty(hPen, "HorizontalAxisScroll", 0);