SignaturePad.getCurrentFrame Method

Module: SignaturePad

Definition

Retrieves the most recent frame from the device’s live feed.

This function can be used to display the current state of the signature as it is being captured.

get_current_frame(self, frame: CaptureImage) -> bool

Parameters

in An object to store the current frame data from the live feed.

Returns

bool
Indicates if the frame is currently available. true if the frame data is successfully retrieved, false otherwise.

Exceptions

An error has occurred during Devices Library execution.
bool getCurrentFrame(CaptureImage frame)

Parameters

in An object to store the current frame data from the live feed.

Returns

bool
Indicates if the frame is currently available. true if the frame data is successfully retrieved, false otherwise.

Exceptions

An error has occurred during Devices Library execution.
public bool GetCurrentFrame(CaptureImage frame)

Parameters

in An object to store the current frame data from the live feed.

Returns

bool
Indicates if the frame is currently available. true if the frame data is successfully retrieved, false otherwise.

Exceptions

An error has occurred during Devices Library execution.
public boolean getCurrentFrame(CaptureImage frame) throws DevicesException

Parameters

in An object to store the current frame data from the live feed.

Returns

boolean
Indicates if the frame is currently available. true if the frame data is successfully retrieved, false otherwise.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesSignaturePad_GetCurrentFrame (
    ID3_DEVICES_SIGNATURE_PAD hSignaturePad,
    ID3_DEVICES_CAPTURE_IMAGE hFrame,
    bool * available)

Parameters

in Handle to the SignaturePad object.

in An object to store the current frame data from the live feed.

available bool *
out Indicates if the frame is currently available. true if the frame data is successfully retrieved, false otherwise.

Returns

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