IProcessAnalyst.ViewLocation [Property][Get]
- Last UpdatedJul 18, 2023
- 1 minute read
The location of last successfully loaded or saved PAV file. e.g. If you loaded a PAV file test.pav from the project folder, this property will be "[Local]test.pav".
Defined As
-
[VBA] STRING ViewLocation
-
[Cicode] STRING ViewLocation
-
[C++] BSTR ViewLocation
Execution Result
If the property get succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument.
Calling Syntax
Assumes your Process Analyst’s Object Name has been named "AN35".
[VBA]
Sub Example()
Dim sViewLocation As String
`Retrieve view location
Set sViewLocation = myPage_AN35.ViewLocation
End Sub
[Cicode]
FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
STRING sViewLocation;
// Retrieve view location
sViewLocation = _ObjectGetProperty(hProcessAnalyst, "ViewLocation");
END