Datalogic .NET SDK
GetParam (Method)
Syntax
public static Int32 GetParam(Int32 index);
Description
Returns the value of a single label programming parameter.
Parameters Table
|
Type |
Parameter |
Description |
[in] |
Int32 |
index |
The index of the label programming parameter to get. |
|
|
|
|
[return] |
Int32 |
|
On success, the value of the parameter is returned. |
[on error] |
-1 |
On error, including an unsupported parameter index. |
Example
private void button1_Click(object sender, EventArgs e) { Int32 ValueToSet = 12; Int32 ValueRead = 0; bool bSuccess = false;
bSuccess = Decode.SetParam(Param.CODE39_MAX_LENGTH, ValueToSet); ValueRead = Decode.GetParam(Param.CODE39_MAX_LENGTH); }
|
Remarks
At this moment such method is supported only for backward compatibility then we encourage the use of Datalogic.API.Decode.GetParamString instead.
See Also
DecodeInputType (Enum), DecodeDeviceCap (Enum), Decode.SetParamString (Method), Decode.GetParamString (Method), Example #012.
Copyright © Datalogic ADC. All Right Reserved