ProcessAnalystLoadFile
- Last UpdatedJul 18, 2023
- 1 minute read
Loads the specified PAV file to a Process Analyst object, which is identified by parameter sObjName.
Syntax
ProcessAnalystLoadFile(sPAVFile, iFileLocation, iButtonMask, sObjName )
sPAVFile:
Name of the PAV file
iFileLocation:
PAV file location code for the PAV file. Indicates which known location to load the file from.
|
Member Name |
Description |
Value |
|---|---|---|
|
FileLocation_Local |
Refers to the project folder |
0 |
|
FileLocation_Server |
Refers to the both the primary/standby server paths |
1 |
|
FileLocation_User |
Refers to the My Documents folder |
2 |
iButtonMask:
Bit mask for removing command buttons from the PA, bit flags as shown below:
1 - Load View
2 - Save View
4 - Print
8 - Copy to Clipboard
16 - Copy to File
32 - Add Pens
64 - Remove Pens
128 - Show Properties
256 - Help
sObjName:
Name of the PA object on the given Page where the PAV file will be loaded.
Return Value
Zero (0) if the function is successfully run. otherwise an error code is returned.
Related Functions
PageProcessAnalyst, PageProcessAnalystPens, ProcessAnalystPopup, ProcessAnalystSelect, ProcessAnalystSetPen, ProcessAnalystWin, TrnSetPen, WinNewAt