_SetDrive, Get_Calibration, GetFocusCriterium, Measure, SetDrive, SetProfileProp, SetRelativePath
Description
double GetFocusCriterium();
This function calculates the focus criteria of the active document. The higher the criteria is, the more focused (sharper) the images is. It also takes the probe into consideration and calculates the focus criteria on the probe when turned on.
Description
double Get_Calibration( char *LpObjectiveName
, double *lpcal
, double *LpAspect
, int *lpunit
);
This function retrieves name, calibration, aspect and unit of the currently selected document.
Parameters
Return Values
See Also
Get_Info, Get_ImageCalibration
Description
Measure();
The function starts the last active interactive measurement mode (e.g. length, angle, ...).
Description
SetDrive(
char *Drive
);
This function defines a drive letter that NIS-Elements will substitute for number sign symbol #.
Note
This is useful for a workgroup using the NIS-Elements system. Suppose, a macro loads a file from a local disk (e.g. OpenImage("c:\images\bin01.lim",1) ). If another user in a workgroup wants to run this macro on his workstation, NIS-Elements cannot load the bin01.lim file, because this file is located e.g. on drive f:. To solve this problem, call SetDrive("f") and OpenImage("#:\images\bin01.lim",1).
See Also
MacroPreferences, SetRelativePath
Description
SetProfileProp(
int prop
);
This function turns on/off profiling of LIM Registered functions. Interpreted functions are always profiled (if, profiling is enabled). LIM Registered functions are profiles only if Prop is non-zero.
Description
SetRelativePath(
char *RelativePath
);
This function defines a path that the application will substitute for two number sign symbols - ##.
Note
This is useful for a workgroup using the application system. Suppose, a macro loads a file from a local disk (e.g. ImageOpen("c:\images\bin01.lim",1) ). If another user in a workgroup wants to run this macro on his workstation, the application can not load the bin01.lim file, because this file is located e.g. on drive f:. To solve this problem, call SetRelativePath("f:\images") and ImageOpen("##\bin01.lim",1);).
See Also
MacroPreferences, SetDrive
Description
_SetDrive();
The function displays the Select Drive dialog box.
See Also
SetDrive