SignaturePad.sendCommand Method

Module: SignaturePad

Definition

(C++/dotnet): Issues a command to the device.

public void SendCommand(string cmd, IntPtr arg=default(IntPtr), IntPtr result=default(IntPtr))

Parameters

cmd string
in The command to be sent.

arg IntPtr
in An optional argument for the command.

result IntPtr
in An optional pointer to store the command’s result.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesSignaturePad_SendCommand (
    ID3_DEVICES_SIGNATURE_PAD hSignaturePad,
    const char * cmd,
    void * arg,
    void * result)

Parameters

in Handle to the SignaturePad object.

cmd const char *
in The command to be sent.

arg void *
in An optional argument for the command.

result void *
in An optional pointer to store the command’s result.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.