Interface ICamApiApplication
Instance of CAM application
Assembly: CAMAPI.Application.dll
Syntax
[Guid("79A78312-DA90-46E8-8418-C4E71BBD1627")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiApplication
Properties
ExecutablePath
Declaration
string ExecutablePath { get; }
Property Value
LanguageCode
Returns Windows Language Code Identifier (LCID) selected for the application
Declaration
int LanguageCode { get; }
Property Value
LanguageName
Returns the name of the language selected for the application
Declaration
string LanguageName { get; }
Property Value
LogFilePath
Returns path to the log file name of CAM
Declaration
string LogFilePath { get; }
Property Value
MainForm
Declaration
ICamApiApplicationMainForm MainForm { get; }
Property Value
Methods
ExportCurrentProject(string, bool, out TResultStatus)
Declaration
void ExportCurrentProject(string TargetFileName, bool Overwrite, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
string |
TargetFileName |
|
bool |
Overwrite |
|
TResultStatus |
ResultStatus |
|
GetActiveProject(out TResultStatus)
Declaration
ICamApiProject GetActiveProject(out TResultStatus ResultStatus)
Parameters
Returns
GetExtensionManager(out TResultStatus)
Declaration
IExtensionManager GetExtensionManager(out TResultStatus ResultStatus)
Parameters
Returns
OpenProject(string, bool, out TResultStatus)
Declaration
void OpenProject(string FileName, bool AddToReOpen, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
string |
FileName |
|
bool |
AddToReOpen |
|
TResultStatus |
ResultStatus |
|
RegisterHandler(string, ICamApiEventHandler, IListString, out TResultStatus)
Declaration
void RegisterHandler(string HandlerIdent, ICamApiEventHandler Handler, IListString Events, out TResultStatus ResultStatus)
Parameters
SaveCurrentProject(string, out TResultStatus)
Declaration
void SaveCurrentProject(string FileName, out TResultStatus ResultStatus)
Parameters
UnregisterHandler(string, out TResultStatus)
Declaration
void UnregisterHandler(string HandlerIdent, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
string |
HandlerIdent |
|
TResultStatus |
ResultStatus |
|