L_CC_GetGuideFrame

#include "ltcc.h"

L_LTCC_API L_INT L_CC_GetGuideFrame (clientWidth, clientHeight, previewWidth, previewHeight, frameRect)

L_UINT clientWidth;

width of the client

L_UINT clientHeight;

height of the client

L_UINT previewWidth;

width of the preview

L_UINT previewHeight;

height of the preview

L_RECT* frameRect;

pointer to an L_RECT struct to fill with guide frame information

Gets the guide frame based on the client and preview height and width.

Parameter

Description

clientWidth The width of the client, in pixels.
clientHeight The height of the client, in pixels.
previewWidth The width of the preview, in pixels.
previewHeight The height of the preview, in pixels.
frameRect Pointer to an L_RECT struct to fill with guide frame information.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Call L_CC_CreateScanner before calling any other LEADTOOLS Credit Cards toolkit functions.

When the handle to the Scanner session is no longer needed, free it by calling L_CC_DestroyScanner. For every call to L_CC_CreateScanner there must be a call to L_CC_DestroyScanner.

For a complete example, refer to the CreditCardCapture demo.

Required DLLs and Libraries

LTCC
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.