IProcessAnalyst.ZoomMode [Property][Get/Set]
- Last UpdatedJul 18, 2023
- 1 minute read
Enables or disables the box zooming mode for the Process Analyst.
Defined As
-
[VBA] Boolean ZoomMode
-
[Cicode] INT ZoomMode
-
[C++] VARIANT_BOOL ZoomMode
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.
Remarks
Setting this mode will verify only box zooming operations can occur; other operations such as interactive scrolling and scaling will cease.
Limits
-
True (-1): Enable zoom mode.
-
False (0): Disable zoom mode.
Calling Syntax
Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".
[VBA]
Sub Example()
Dim zoomMode As Boolean
`Retrieve the mode
zoomMode = myPage_AN35.ZoomMode
`Set the path
myPage_AN35.ZoomMode = True
End Sub
[Cicode]
FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
INT zoomMode;
// Retrieve the zoomMode
zoomMode = _ObjectGetProperty(hProcessAnalyst, "ZoomMode");
// Set the zoomMode
_ObjectSetProperty(hProcessAnalyst, "ZoomMode", -1);
END