10350 Santa Monica Blvd. Suite 285,
Phone: 310-691-8920, 310-788-9840, Fax: 419-735-2419
Card Scanning Solutions 27
See also: Id2State(), LastStateIndex
1.1.30. Id2Country
Format
Parameters
[in] countryId – An integer that holds the country id value.
[out] coutryName – A string that will be loaded by the function with the country name.
Return Value
ID_TRUE: The function succeeded.
ID_ERR_NO_MATCH – No country with such id was found.
Remarks
This helper function is used to convert a country id to the country name (string).
1.1.31. Id2State
Format
Parameters
[in] stateId – An integer that holds the state id value.
[out] StateName – A string that will be loaded by the function with the state name.
Return Value
ID_TRUE: The function succeeded.
ID_ERR_NO_MATCH – No state with such id was found.
Remarks
This helper function is used to convert a state id to the state name (string). For example, passing
stateId loaded with the value 4 loads the string StateName with the string “California”. The
function converts the string to the id even if the state is not supported by the library.
See also: State2Id(), LastStateIndex
Id2State (stateId As Integer, StateName As String) As Long
Id2Country (countryId As Integer, CountryName As String) As Long