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
frame
CaptureImagein 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
frame
CaptureImagein 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
frame
CaptureImagein 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
frame
CaptureImagein 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
hSignaturePad
ID3_DEVICES_SIGNATURE_PADin Handle to the SignaturePad object.hFrame
ID3_DEVICES_CAPTURE_IMAGEin 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