IAutomationIAutomationInit(Boolean, String, Boolean, Boolean) Method
Initialise PCB-Investigator and the IAutomation Interface, neccessary for calculations.
Call this init at the begin of your application!
And call this init only one time at the beginning, later use CreateNewPCBIWindow to get new IPCBIWindows.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static IPCBIWindow IAutomationInit(
bool Visible,
string ExecutabelPathPCBI,
bool SuppressUserNotifications,
bool SuppressLicenseDLG = false
)
Public Shared Function IAutomationInit (
Visible As Boolean,
ExecutabelPathPCBI As String,
SuppressUserNotifications As Boolean,
Optional SuppressLicenseDLG As Boolean = false
) As IPCBIWindow
public:
static IPCBIWindow^ IAutomationInit(
bool Visible,
String^ ExecutabelPathPCBI,
bool SuppressUserNotifications,
bool SuppressLicenseDLG = false
)
static member IAutomationInit :
Visible : bool *
ExecutabelPathPCBI : string *
SuppressUserNotifications : bool *
?SuppressLicenseDLG : bool
(* Defaults:
let _SuppressLicenseDLG = defaultArg SuppressLicenseDLG false
*)
-> IPCBIWindow
- Visible Boolean
- If Visible true, then the PCB-Investigator Window is shown.
- ExecutabelPathPCBI String
- The path were the PCB-I-Assambly location is (end the path with \PCB-Investigator.exe).
- SuppressUserNotifications Boolean
- Suppress all messageboxes and ands more errors and warnings to the ErrorLog.
- SuppressLicenseDLG Boolean (Optional)
- This hides the registration Dialog if no license is available.
IPCBIWindowthe first instance of IPCBIWindow