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.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static IPCBIWindow IAutomationInit(
	bool Visible,
	string ExecutabelPathPCBI,
	bool SuppressUserNotifications,
	bool SuppressLicenseDLG = false
)

Parameters

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.

Return Value

IPCBIWindow
the first instance of IPCBIWindow

See Also