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

IProcessAnalyst.ZoomMode [Property][Get/Set]

Enables or disables the box zooming mode for the Process Analyst.

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.


Setting this mode will verify only box zooming operations can occur; other operations such as interactive scrolling and scaling will cease.


Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".


Sub Example()
Dim zoomMode As Boolean
`Retrieve the mode
zoomMode = myPage_AN35.ZoomMode
`Set the path
myPage_AN35.ZoomMode = True
End Sub


FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
INT zoomMode;
// Retrieve the zoomMode
zoomMode = _ObjectGetProperty(hProcessAnalyst, "ZoomMode");
// Set the zoomMode
_ObjectSetProperty(hProcessAnalyst, "ZoomMode", -1);