TBApiGetCalibrationStyleByName API Call

 

Description

Given a calibration style name, return the style handle

Parameters

Device handle and Style Name.

Returns

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

Notes

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