TBApiGetCalibrationStyleByName API Call



Given a calibration style name, return the style handle


Device handle and Style Name.


-1 if the style is not found otherwise returns style handle.


Type HTBSTYLE is defined in TBAPI.H

To obtain the name of the current calibration style, make a call to TBApiGetSettingsSZ, passing the Device handle and the key “Calibration Style”.

See also

Other calibration related API calls.


Visual C++ Declaration/example


HTBSTYLE TBAPI TBApiGetCalibrationStyleByName(HTBDEVICE aDeviceHandle, const TCHAR* aStyleName);


Visual Basic Declaration/example


Public Declare Function TBApiGetCalibrationStyleByName Lib "TBapi" Alias “_DLL_TBApiGetCalibrationStyleByName@8" (ByVal aDeviceHandle As Byte, ByVal aStyleName As String) As Long